/* =========================================
   Diego Bouda Portfolio — Custom Styles
   ========================================= */

/* Lang switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.lang-switcher button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    color: #aaa;
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.2s;
}
.lang-switcher button.active {
    color: #333;
    border-bottom: 2px solid #333;
}
.lang-switcher span {
    color: #ccc;
}

/* Hero — split layout */
.hero-split {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}
.hero-text-col {
    padding-right: 2rem;
}
.hero-split h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #111;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero-split p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Montage */
.hero-montage-col {
    padding-left: 1rem;
}
.hero-montage {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-height: 75vh;
}
.montage-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.montage-col-right {
    margin-top: 48px;
}
.montage-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    display: block;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}
.montage-img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}
@media (max-width: 991px) {
    .hero-montage-col {
        display: none;
    }
    .hero-text-col {
        text-align: center;
        padding-right: 0;
    }
    .hero-split {
        padding: 120px 0 60px;
    }
}
.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-radius: 3px;
    margin: 0 0.5rem 0.5rem;
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    border: 2px solid #111;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
}
.hero-btn-primary {
    background: #111;
    color: #fff;
}
.hero-btn-primary:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    transform: translateY(-2px);
    text-decoration: none;
}
.hero-btn-outline {
    background: transparent;
    color: #111;
}
.hero-btn-outline:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Sections shared */
.portfolio-section {
    padding: 80px 0;
}
.portfolio-section .section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.portfolio-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #111;
    margin-bottom: 3rem;
}

/* About */
#about {
    background: #fff;
}
#about .about-body {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    max-width: 720px;
}

/* Services */
#services {
    background: #f8f9fa;
}
.service-card {
    background: #fff;
    border-radius: 4px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.service-card .icon {
    font-size: 2rem;
    color: #111;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.75rem;
}
.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Portfolio */
#portfolio {
    background: #fff;
}
#portfolio .portfolio-sub {
    font-size: 1rem;
    color: #777;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
}
.portfolio-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.portfolio-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    text-decoration: none;
}
.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: grayscale(10%);
    transition: filter 0.2s;
}
.portfolio-card:hover img {
    filter: grayscale(0%);
}
.portfolio-card-label {
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
}
.badge-view-demo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #111;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 2px;
    text-transform: uppercase;
}

/* Contact */
#contact {
    background: #f8f9fa;
}
.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    width: 100%;
}
.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
.contact-form .btn-submit {
    background: #111;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    width: 100%;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.contact-form .btn-submit:hover {
    background: #333;
}
.contact-form .btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
}
.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}
.form-feedback--success {
    background: #e6f4ea;
    color: #1e6e34;
}
.form-feedback--error {
    background: #fde8e8;
    color: #b91c1c;
}
.contact-info {
    padding-left: 3rem;
}
@media (max-width: 767px) {
    .contact-info {
        padding-left: 0;
        margin-top: 2rem;
    }
}
.contact-info .contact-email {
    font-size: 1rem;
    color: #111;
    font-weight: 600;
    text-decoration: none;
}
.contact-info .contact-email:hover {
    text-decoration: underline;
}
.contact-info .social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}
.contact-info .social-links a {
    font-size: 1.5rem;
    color: #444;
    transition: color 0.2s;
}
.contact-info .social-links a:hover {
    color: #111;
}

/* Footer */
#footer {
    background: #111;
    color: #999;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
}

/* Nav overrides */
#header .header-body {
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
}
#header .header-nav-main nav > ul > li > a {
    color: #333 !important;
}
#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li > a.active,
#header .header-nav-main nav > ul > li:hover > a {
    color: #111 !important;
}
#header .nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
#header .nav-link:hover,
#header .nav-link.active {
    color: #111 !important;
}
#header .header-logo a {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.02em;
}
