/* ============================================
   dEN | Design Eric Negrete
   ============================================ */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* ---- Buttons ---- */
.btn-filled {
    display: inline-block;
    padding: 14px 46px;
    background-color: #ddd0c7;
    border: none;
    color: #3E2316;
    font-family: 'Italiana', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.btn-filled:hover {
    background-color: #efe8e3;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.btn-filled-dark {
    background-color: #3E2316;
    color: #ddd0c7;
}

.btn-filled-dark:hover {
    background-color: #6B4226;
    transform: scale(1.1);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 350px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 40px;
}

.hero-logo {
    width: 15%;
    max-width: 180px;
    height: auto;
}

/* ============================================
   About Section
   ============================================ */
.about {
    display: flex;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 40px;
    gap: 60px;
    align-items: flex-start;
}

.about-portrait {
    flex: 0 0 460px;
    text-align: center;
}

.portrait-image {
    width: 420px;
    margin: 0 auto 28px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 20px;
    line-height: 1.75;
    color: #444;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Portfolio Preview Section
   ============================================ */
.portfolio {
    background-color: #3E2316;
    padding: 60px 40px 50px;
}

.portfolio-heading {
    font-family: 'Italiana', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 0;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.portfolio-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portfolio-col-right {
    padding-top: 60px;
}

.portfolio-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-1 {
    height: 380px;
}

.item-2 {
    height: 380px;
}

.item-3 {
    height: 380px;
}

.item-4 {
    height: 480px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 10px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background-color: #fff;
    padding: 70px 40px;
}

.contact-heading {
    font-family: 'Italiana', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #3E2316;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-message p {
    font-size: 20px;
    color: #444;
    line-height: 1.75;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Italiana', Georgia, serif;
    font-size: 18px;
    color: #3E2316;
    margin-bottom: 8px;
}

.form-group .optional {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    color: #999;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    color: #333;
    border: 1px solid #ccc;
    background-color: #f9f7f5;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3E2316;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-filled {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: #3E2316;
    padding: 50px 40px 60px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo {
    width: auto;
    height: 85px;
}

.footer-info {
    color: #fff;
}

.footer-name {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.el-jefe {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 2px;
}

.footer-contact {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #fff;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }

    .hero-overlay {
        padding: 20px 24px;
    }

    .hero-logo {
        width: 60px;
    }

    .about {
        flex-direction: column;
        align-items: center;
        margin: 50px auto;
        padding: 0 24px;
        gap: 40px;
    }

    .about-portrait {
        flex: none;
        width: 100%;
    }

    .portrait-image {
        width: 300px;
    }

    .about-text p {
        font-size: 17px;
    }

    .portfolio {
        padding: 40px 24px 40px;
    }

    .portfolio-heading {
        margin-bottom: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .portfolio-col-right {
        padding-top: 0;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4 {
        height: 260px;
    }

    .contact {
        padding: 50px 24px;
    }

    .footer {
        padding: 30px 24px 40px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
