@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #000000;
    --accent: #57543f;
    --bg: #ffffff;
    --gray-light: #f8fafc;
    --gray-med: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #647d8b;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

body {
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-med);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

section {
    padding: 80px 30px;
    width: 100%;

}

section p {
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.1rem;
}

section .texto {
    text-align: justify;
}

.hero {
    text-align: center;
    width: 100%;
    padding-top: 350px;

    background-image:
        linear-gradient(rgba(243, 243, 243, 0.5), rgb(255 255 255)), url(assets/Ingridy-Thamarys/ingridy-thamarys-background.jpeg);

    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h2 {
    font-weight: 400;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background: #222;
}

.big {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.cards {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
    justify-content: center;
}

.card {
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--gray-med);
    transition: var(--transition);
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    padding: 10px;

}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.project-img {
    border-radius: 12px;
    height: 250px;
    background: var(--gray-med);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.project-img:hover {
    filter: brightness(0.9);
}


footer {
    background: var(--gray-light);
    color: var(--text-muted);
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--gray-med);
}

@media(max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    nav {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 40px;
        border-bottom: 1px solid var(--gray-med);
        text-align: center;
        box-shadow: var(--shadow);
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h2 {
        line-height: 27px;
    }

}

.card-icon {
    color: var(--accent);
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    stroke-width: 1.5px;
}

.icon-list {
    list-style: none;
    margin: 25px 0;
    text-align: left;

}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.icon-list li svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
}


.contact {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    margin-top: 40px;
}

.contact-info p,
a {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.contact-info i {
    width: 20px;
    color: var(--text-main);
    align-items: center;

}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.sobre h2 {
    text-align: center;
    margin-bottom: 40px;
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.sobre-img {
    flex: 1;
    min-width: 280px;
}

.sobre-img img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    object-fit: cover;
}

.sobre-texto {
    flex: 1;
    min-width: 280px;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: justify;
}

.btn-outline {
    padding: 14px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}


.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.modal-content {
    max-width: 1100px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
}

.close-modal {
    position: fixed;
    top: 20px;
    right: 40px;
    font-size: 50px;
    font-weight: 300;
    color: var(--text-main);
    cursor: pointer;
    z-index: 2100;
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.full-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

.full-gallery-grid img:hover {
    transform: scale(1.03);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    overflow-y: auto;
}

.viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.viewer.active {
    display: flex;
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.grid-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: scale(1.02);
}

.viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
}

.viewer.active {
    display: flex;
}

.viewer-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#viewer-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Mantém a proporção sem distorcer */
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#viewer-img.show {
    opacity: 1;
    transform: scale(1);
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 3100;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary);
    color: white;
}

.prev-btn {
    left: -30px;
}

.next-btn {
    right: -30px;
}

.btn-close-grid {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 40px;
    color: #000;
    width: 55px;
    height: 55px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2500;
    line-height: 0;
}

.close-viewer {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 50px;
    cursor: pointer;
    color: #000;
    z-index: 3500;
    line-height: 1;
}

.viewer {
    z-index: 4000 !important;
}