/* ============================================
   TUCSON HOME REPAIR PRO - MAIN STYLESHEET
   Colors: Arizona Red #AB0520, Arizona Blue #0C234B
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --arizona-red: #AB0520;
    --arizona-blue: #0C234B;
    --dark-bg: #222222;
    --text-gray: #5a5a5a;
    --white: #ffffff;
}

/* ===== MAIN STYLES ===== */
body, html {
    font-family: 'Lato', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: var(--arizona-blue);
}

h1 {
    text-transform: uppercase;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}
h1 strong { font-weight: 900; }

h2 {
    text-transform: uppercase;
    line-height: 20px;
    margin: 0;
}

h3 {
    font-size: 18px;
    font-weight: 900;
}

h4 { text-transform: uppercase; }

h5 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 2px;
    text-shadow: 5px 5px 6px #000;
}

p { font-family: 'Open Sans', sans-serif; }

p.intro {
    font-size: 16px;
    margin: 12px 0 0;
    line-height: 24px;
}

a { color: var(--arizona-blue); }
a:hover, a:focus {
    text-decoration: none;
    color: var(--arizona-red);
}

.section-title hr {
    border-color: var(--arizona-red);
    border-width: 4px;
    width: 60px;
    float: left;
    clear: both;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

ul, ol { padding: 0; }

/* ===== NAVIGATION ===== */
#tf-menu {
    padding: 20px;
    transition: all 0.8s;
}

#tf-menu.navbar-default {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(231, 231, 231, 0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#tf-menu a.navbar-brand {
    text-transform: uppercase;
    font-size: 22px;
    color: var(--arizona-blue);
    font-weight: 900;
}

#tf-menu a.navbar-brand:hover {
    color: var(--arizona-red);
}

#tf-menu.navbar-default .navbar-nav > li > a {
    text-transform: uppercase;
    color: var(--arizona-blue);
    font-size: 12px;
    letter-spacing: 1px;
}

#tf-menu.navbar-default .navbar-nav > li > a:hover {
    color: var(--arizona-red);
}

.on {
    background-color: rgba(255, 255, 255, 0.98) !important;
    padding: 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--arizona-blue) !important;
    background-color: transparent;
    font-weight: 700;
}

.navbar-default .navbar-nav > .active > a:hover {
    color: var(--arizona-red) !important;
}

.navbar-toggle { border-radius: 0; }

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: var(--arizona-blue);
    border-color: var(--arizona-blue);
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--arizona-blue);
}

.navbar-default .navbar-toggle:hover > .icon-bar {
    background-color: #FFF;
}

/* ===== HOME SECTION ===== */
#tf-home {
    background: url(../images/backgrounds/Window_1.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #cfcfcf;
}

#tf-home .overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.73) 17%, rgba(0,0,0,0.66) 35%, rgba(0,0,0,0.55) 62%, rgba(0,0,0,0.4) 100%);
    height: 750px;
    background-attachment: fixed;
}

.content {
    position: relative;
    padding: 20% 0 0;
}

.color { color: var(--arizona-blue); }

/* ===== ABOUT SECTION ===== */
#tf-about { padding: 80px 0; }

ul.about-list { margin: 30px 0 0; }

ul.about-list li {
    display: block;
    font-size: 16px;
    line-height: 30px;
}

ul.about-list li span { margin-right: 10px; }

/* ===== TEAM/PAST WORK SECTION ===== */
#tf-team {
    background: url(../images/backgrounds/Window_2.png);
    background-size: auto 100%;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
}

#tf-team .overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.73) 17%, rgba(0,0,0,0.66) 35%, rgba(0,0,0,0.55) 62%, rgba(0,0,0,0.4) 100%);
    padding: 80px 0;
    background-attachment: fixed;
}

.section-title.center { padding: 30px 0; }

.section-title h2,
.section-title.center h2 { font-weight: 300; }

.section-title.center .line {
    border-top: 4px solid var(--arizona-red);
    height: 10px;
    width: 60px;
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
}

.section-title.center hr {
    border-top: 4px solid rgba(171, 5, 32, 0.34);
    width: 40px;
    text-align: center;
    margin-top: 10px;
    position: relative;
    left: 17%;
}

#tf-team .item {
    padding: 0;
    margin: 15px;
    color: #FFF;
    text-align: center;
}

img.img-circle.team-img {
    width: 200px;
    height: 200px;
    border: 4px solid var(--arizona-blue);
    transition: all 0.5s;
}

#tf-team .item .thumbnail:hover > img.img-circle.team-img {
    border: 4px solid var(--arizona-red);
}

#tf-team .thumbnail {
    background: transparent;
    border: 0;
}

#tf-team .thumbnail .caption {
    padding: 9px;
    color: #F2F2F2;
}

/* ===== WORKS/ABOUT DREW SECTION ===== */
#tf-works { padding: 80px 0; }

.categories { padding: 10px 0; }

ul.cat li { display: inline-block; }

#tf-works li.pull-right { margin-top: 10px; }

#tf-works i.fa {
    height: 30px;
    width: 30px;
    border: 1px solid var(--arizona-red);
    font-size: 20px;
    padding: 5px;
    border-radius: 50%;
    color: var(--arizona-red);
}

/* ===== TESTIMONIALS SECTION ===== */
#tf-testimonials {
    background: url(../images/backgrounds/Window_3.png);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
}

#tf-testimonials .overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.73) 17%, rgba(0,0,0,0.66) 35%, rgba(0,0,0,0.55) 62%, rgba(0,0,0,0.4) 100%);
    padding: 80px 0;
    background-attachment: fixed;
}

#testimonial { padding: 30px 0; }

#testimonial .item {
    display: block;
    width: 100%;
    height: auto;
}

#testimonial .item p {
    font-weight: 400;
    margin: 30px 0;
    color: #fff;
    text-shadow: 5px 5px 6px #000;
}

.testimonial-single {
    display: none;
    text-align: center;
}

.testimonial-single.active {
    display: block;
}

.testimonial-dots {
    text-align: center;
    margin-top: 20px;
}

.testimonial-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dots span.active {
    background: var(--arizona-blue);
    opacity: 1;
}

/* ===== CONTACT SECTION ===== */
#tf-contact { padding: 80px 0; }

label {
    float: left;
    font-size: 12px;
    font-weight: 400;
}

#tf-contact .form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: none;
    transition: none;
}

.btn.tf-btn.btn-default {
    float: none;
    background: var(--arizona-blue);
    border: 0;
    border-radius: 0;
    padding: 10px 40px;
    color: var(--white);
    text-transform: uppercase;
}

.btn.tf-btn.btn-default:hover {
    background: var(--arizona-red);
}

/* ===== FOOTER ===== */
nav#footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 20px 0 15px 0;
}

nav#footer .fnav { vertical-align: middle; }

nav#footer p {
    font-size: 12px;
    margin-top: 10px;
}

nav#footer a {
    color: #8c8c8c;
}

nav#footer a:hover {
    color: var(--arizona-red);
}

#footer i.fa {
    height: 30px;
    width: 30px;
    border: 2px solid #8c8c8c;
    font-size: 20px;
    padding: 4px 5px;
    border-radius: 50%;
    color: #8c8c8c;
    transition: all 0.5s;
}

#footer i.fa:hover {
    background: var(--arizona-red);
    border-color: var(--arizona-red);
    color: var(--white);
}

@media (max-width: 768px) {
    nav#footer .fnav {
        text-align: center !important;
    }
}

/* ===== BEAR DOWN SPECIAL ===== */
#tf-beardown {
    background: url(../images/backgrounds/UoA_Stadium.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

#tf-beardown .overlay {
    background: rgba(0, 0, 0, 0.75);
    padding: 60px 0;
}

#tf-beardown .special-badge {
    background: var(--arizona-red);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

#tf-beardown h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

#tf-beardown .price-tag {
    font-size: 72px;
    font-weight: 900;
    color: var(--arizona-blue);
    text-shadow: 3px 3px 0px #fff, 4px 4px 6px rgba(0,0,0,0.5);
}

#tf-beardown .price-tag sup {
    font-size: 36px;
    top: -20px;
}

#tf-beardown .flat-rate {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
}

#tf-beardown ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

#tf-beardown ul li {
    font-size: 16px;
    margin: 10px 0;
    padding-left: 30px;
    position: relative;
}

#tf-beardown ul li:before {
    content: "✓";
    color: var(--arizona-red);
    font-weight: bold;
    position: absolute;
    left: 0;
    text-shadow: 1px 1px 0px #fff;
}

#tf-beardown .note {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 15px;
    font-style: italic;
}

#tf-beardown .cta-btn {
    background: var(--arizona-red);
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    margin-top: 20px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

#tf-beardown .cta-btn:hover {
    background: var(--arizona-blue);
    color: #fff;
    transform: scale(1.05);
}

/* ===== CONTACT PROTECTION ===== */
.protected-contact {
    cursor: pointer;
    color: var(--arizona-blue);
    text-decoration: underline;
}

.protected-contact:hover {
    color: var(--arizona-red);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .content { padding: 40% 0 0; }
    #tf-home .overlay { height: auto; min-height: 500px; }
}

@media (max-width: 603px) {
    #tf-menu.navbar-default {
        background-color: rgba(0, 0, 0, 0.79);
    }
    #tf-works li.pull-right,
    #tf-works li.pull-left {
        margin-top: 10px;
        float: none !important;
        text-align: center;
        display: block;
    }
    label { float: none !important; }
    .pull-left.fnav,
    .pull-right.fnav {
        float: none !important;
        text-align: center;
    }
    #tf-beardown h2 { font-size: 28px; }
    #tf-beardown .price-tag { font-size: 48px; }
}
