/* ===== HOME PAGE ===== */

.home-page {
    position: relative;
    background: transparent;}

/* ===== HERO ===== */

.hero-section {
    min-height: 100vh;
    padding: 180px 40px 120px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    position:relative;
    overflow:hidden;
}

.section-label {
    margin-bottom: 20px;
    color: #9caf9f;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-section h1 {
    max-width: 1100px;
    color: #1d1d1d;
    font-size: clamp(2.2rem, 7vw, 6rem);
    line-height: 0.88;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 32px;
}

.hero-text {
    max-width: 580px;
    color: #6f6f6f;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ===== BUTTONS ===== */

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 14px 26px;

    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;

    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.primary-button {
    background: var(--primarycolor);
    color: var(--surface);
    border: 1px solid var(--primarycolor);
}

.primary-button:hover {
    background: var(--primarycolor-hover);
    border-color: var(--primarycolor-hover);
    color: var(--surface);

    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

.secondary-button {
    background: transparent;
    color: var(--primarycolor);

    border: 1px solid var(--primarycolor);
}

.secondary-button:hover {
    background: var(--primarycolor);
    color: var(--surface);

    transform: translateY(-2px);
}

/* ===== SECTION GLOBAL ===== */

.featured-section,
.services-section,
.about-preview,
.cta-section {
    padding: 110px 40px;
    max-width:1450px;
    margin:0 auto 80px;

    background:rgba(255,255,255,.92);

    border-radius:36px;

    padding:80px 40px;
}

.section-header {
    margin: 0 auto 56px;
}

.section-header h2 {
    color: #1d1d1d;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -2px;
    padding-bottom: 20px;
}

/* ===== FEATURED PROJECTS ===== */

.featured-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.featured-card {
    background: #C3CF9A;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
}

.large-card {
    grid-row: span 2;
}

.project-image {
    height: 280px;
}

.large-card .project-image {
    height: 520px;
}

.placeholder {
    background:
    linear-gradient(
    135deg,
    #F5F3EC,
    #E7E5DD
    );
}

.project-content {
    padding: 32px;
}

.project-category {
        background: linear-gradient(
        180deg,
        var(--primary-light) 0%,
        #C3CF9A 100%
    );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}

.project-content h3 {
    color: var(--text-light);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--surface-soft);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.project-content a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-content a:hover {
    color: #9caf9f;
}

/* ===== SERVICES ===== */

.services-list {
    margin: 0 auto;
    border-top: 1px solid rgba(29, 29, 29, 0.12);
    background-color: var(--surface);
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    padding-top: 34px;
    border-bottom: 1px solid rgba(29, 29, 29, 0.12);
}

.service-item span {
    color: #9caf9f;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-item h3 {
    color: #1d1d1d;
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.service-item p {
    max-width: 720px;
    color: #6f6f6f;
    font-size: 0.95rem;
}

/* ===== ABOUT PREVIEW ===== */

.about-preview {
    max-width: 1450px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-preview h2 {
    color: #1d1d1d;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 0.88;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.about-preview > p {
    color: #6f6f6f;
    font-size: 1rem;
    line-height: 1.9;
}

/* ===== CTA ===== */

.cta-section {
    max-width: 1100px;
    margin: 0 auto 80px;
    text-align: center;
}

.cta-section h2 {
    color: #1d1d1d;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 0.88;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 36px;
    color: #6f6f6f;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

    .hero-section {
        padding: 190px 25px 90px;
        align-items: flex-start;
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .featured-section,
    .services-section,
    .about-preview,
    .cta-section {
        padding: 80px 25px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .large-card {
        grid-row: auto;
    }

    .large-card .project-image,
    .project-image {
        height: 300px;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cta-section {
        text-align: left;
        margin-bottom: 40px;
    }

    .cta-section p {
        margin-left: 0;
    }
}

@media (max-width: 768px) {

    /* ===== NAVBAR ===== */
    nav {
        width: calc(100% - 30px);
        padding: 18px 20px;
        flex-direction: column;
        gap: 15px;
        border-radius: 28px;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    /* ==== FOOTER ==== */
    .footer-container {
        padding: 60px 25px 30px;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 50px;
    }

    .footer-logo p {
        margin: 0 auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 45px;
    }

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

@media (max-width: 480px) {

    .hero-section h1,
    .section-header h2,
    .about-preview h2,
    .cta-section h2 {
        letter-spacing: -1px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }

    .project-content {
        padding: 26px;
    }
}

/* ===== EXTRA SMALL PHONES ===== */

@media (max-width: 320px) {

    nav {
        width: calc(100% - 20px);
        padding: 14px 16px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .primary-button,
    .secondary-button {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

/* ===== SMALL PHONES ===== */

@media (max-width: 360px) {

    .hero-section {
        padding: 160px 20px 70px;
    }

    .hero-section h1 {
        font-size: 2.4rem;
        line-height: 1;
        letter-spacing: -0.5px;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section-header h2,
    .about-preview h2,
    .cta-section h2 {
        font-size: 2.3rem;
        letter-spacing: -0.5px;
    }

    .featured-section,
    .services-section,
    .about-preview,
    .cta-section {
        padding: 60px 20px;
    }

    .project-content {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 1.35rem;
    }

    .service-item {
        padding: 24px 0;
    }

    .service-item h3 {
        font-size: 1.6rem;
    }

    .footer-container {
        padding: 50px 20px 20px;
    }
}