/*
Author URI: http://webthemez.com/
Note: 
Licence under Creative Commons Attribution 3.0 
Do not remove the back-link in this web template 
-------------------------------------------------------*/

@charset "utf-8";
@import url(http://fonts.googleapis.com/css?family=Raleway:800,700,400);
@import url(http://fonts.googleapis.com/css?family=Signika:400,600);

/* Reset
---------------------------------*/
ul {
    list-style: none;
    padding: 0;
}

.figure {
    margin: 0px;
}

img {
    max-width: 100%;
}

a, a:hover, a:active {
    outline: 0px !important;
    text-decoration: none;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* Styles
---------------------------------*/
body {
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #888888;
    margin: 0;
}

h2 {
    font-size: 38px;
    color: #222222;
    font-family: 'Raleway', sans-serif;
    font-weight: normal;
    margin: 0px 0 25px 0;
    text-align: center;
    text-transform: uppercase;
}

h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #222222;
    font-size: 18px;
    margin: 0 0 5px 0;
}

p {
    line-height: 24px;
    margin: 0;
}

/* Header & Nav REPARADO (FONDO BLANCO)
---------------------------------*/
#header_wrapper {
    background: #ffffff;
    padding: 20px 0px;
}

.header_box {
    position: relative;
}

.logo {
    float: left;
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

/* Evitar fondo negro de Bootstrap Navbar-Inverse */
.navbar-inverse {
    background-color: transparent !important;
    border-color: transparent !important;
}

.navbar {
    border: 0px solid #fff;
    min-height: 40px;
    margin-bottom: 0px;
}

.navStyle {
    float: right;
}

.navStyle ul {
    list-style: none;
    padding: 0px;
}

.navStyle ul li {
    display: inline-block;
    margin: 0 5px;
}

.navStyle ul li a {
    display: block;
    font-size: 14px;
    color: #222222 !important; /* Forzar texto oscuro */
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.navStyle ul li a:hover, 
.navbar-inverse .navbar-nav > .active > a {
    color: #CCAD4F !important;
    background-color: transparent !important;
}

/* Hero Section
---------------------------------*/
.top_cont_outer {
    background: #CCAD4F;
    position: relative;
}

.hero_section {
    padding-top: 50px;
}

.top_left_cont {
    padding: 110px 0;
}

.top_left_cont h2 {
    font-size: 40px;
    color: #FFF;
    line-height: 52px;
    margin: 0 0 26px 0;
    text-align: left;
    font-family: 'Raleway', sans-serif;
}

.top_left_cont p {
    font-size: 16px;
    color: #000;
    margin-bottom: 30px;
}

a.read_more2 {
    display: block;
    width: 178px;
    height: 46px;
    line-height: 46px;
    border-radius: 3px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    border: 1px solid #fff;
    transition: all 0.2s;
}

a.read_more2:hover {
    background: #fff;
    color: #CCAD4F;
}

/* Services
---------------------------------*/
#service {
    padding: 60px 0px;
    background: #EFEFEF;
}

.service_block {
    text-align: center;
    padding: 0 15px;
}

.service_icon {
    border: 2px solid #CCAD4F;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    margin: 0px auto 25px;
}

.service_icon i {
    color: #CCAD4F;
    font-size: 40px;
    line-height: 90px;
}

/* About Us
---------------------------------*/
#aboutUs {
    padding: 60px 0;
}

.inner_section {
    padding: 60px 0 20px;
}

a.contact_btn {
    display: block;
    width: 176px;
    height: 49px;
    text-align: center;
    line-height: 49px;
    color: #CCAD4F;
    border: 2px solid #CCAD4F;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
    transition: 0.2s;
}

a.contact_btn:hover {
    background: #CCAD4F;
    color: #fff;
}

/* Portfolio / Galería (BOTONES Y ANIMACIONES)
---------------------------------*/
#Portfolio {
    padding: 60px 0px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

#filters {
    margin-bottom: 40px;
    text-align: center;
}

#filters ul li {
    display: inline-block;
    margin: 5px;
}

/* Botones con tamaño uniforme */
#filters ul li a h5 {
    background: #fff;
    border: #C2C2C2 solid 1px;
    border-radius: 4px;
    color: #7C7C7C;
    display: inline-block;
    font-size: 11px;
    line-height: 20px;
    padding: 10px 0;
    width: 105px; 
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s;
    margin: 0;
}

#filters ul li a:hover h5, #filters ul li a.active h5 {
    color: #CCAD4F;
    border: #CCAD4F solid 1px;
}

/* Animaciones e Isotope */
#portfolio_wrapper {
    width: 100%;
    margin: 0 auto;
}

#portfolio_wrapper .one-four {
    margin: 0 !important;
    width: 25%;
    float: left;
    position: relative;
    overflow: hidden;
}

.portfolio-item .portfolio_img img {
    width: 100%;
    height: auto;
}

/* Cortina dorada al pasar el mouse */
.item_overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: rgba(204, 173, 79, 0.9);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    z-index: 10;
}

.portfolio-item:hover .item_overlay {
    opacity: 1;
}

.item_info {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
}

.item_info h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

/* Necesario para las transiciones de Isotope */
.isotope .isotope-item {
    transition-duration: 0.6s;
    transition-property: transform, opacity;
}

/* Footer & Contact
---------------------------------*/
.footer_wrapper {
    background: #232323;
}

.page_section.contact {
    padding: 60px 0;
}

.contact_section h2 {
    color: #fff;
}

.input-text {
    padding: 15px;
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
}

.input-btn {
    width: 175px;
    height: 50px;
    background: #CCAD4F;
    color: #fff;
    border: 0;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
}

.footer_bottom {
    border-top: 1px solid #3C3A3A;
    padding: 25px 0;
    text-align: center;
    color: #ccc;
}

/* Media Queries (Correcciones para Móvil)
---------------------------------*/
@media (max-width: 768px) {
    h2 { font-size: 30px; }
    
    .navbar-inverse .navbar-toggle {
        border-color: #CCAD4F;
    }
    
    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #CCAD4F;
    }

    .top_left_cont { padding: 40px 0; text-align: center; }
    .top_left_cont h2 { text-align: center; font-size: 28px; }
    
    #filters ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #filters ul li a h5 {
        width: 100px;
        font-size: 10px;
    }

    #portfolio_wrapper .one-four {
        width: 50% !important;
    }
    
    .navStyle { 
        width: 100%; 
        background: #fff; /* Asegura fondo blanco en menú desplegable móvil */
    }
    
    .navStyle ul li { 
        display: block; 
        margin: 5px 0; 
        text-align: center;
    }
}

@media (max-width: 480px) {
    #portfolio_wrapper .one-four {
        width: 100% !important;
    }
}