
/* =========================================
   LUVYN DIGITAL SOLUTIONS
   IVORY & MOCHA
========================================= */

:root {
    --ivory: #F7F3ED;
    --sand: #D8C8B7;
    --mocha: #8B7567;
    --espresso: #302923;
    --white: #FFFFFF;
    --text-soft: #6E6157;
    --branding-bg: #F0E9E1;
}

/* GENERAL */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--ivory);
    color: var(--espresso);
}

h1, h2, h3 {
    overflow-wrap: anywhere;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--mocha);
    outline-offset: 3px;
}

/* HEADER */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 25px 8%;
    background: var(--ivory);
    border-bottom: 1px solid var(--sand);
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.nav a:hover {
    color: var(--mocha);
}

/* HOME HERO */

.hero {
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 8%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1s ease both;
}

.hero h1 {
    margin: 0 0 15px;
    font-size: clamp(52px, 9vw, 85px);
    letter-spacing: clamp(5px, 1.3vw, 12px);
}

.hero h2 {
    margin: 0 0 28px;
    font-size: 27px;
    font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mocha);
}

.hero p {
    margin-bottom: 32px;
    line-height: 1.9;
    color: var(--text-soft);
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--espresso);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.btn:hover {
    background: var(--mocha);
    transform: translateY(-3px);
}

.btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

/* HOME IMAGE */

.hero-image-section {
    padding: 0 8% 80px;
    overflow: hidden;
}

.hero-image {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    animation: imageReveal 1.2s ease both;
}

/* GENERAL SECTIONS */

.services,
.creative-services {
    padding: 90px 8%;
    background: var(--white);
    text-align: center;
}

.services h2,
.creative-services h2,
.pricing h2,
.portfolio h2,
.about h2,
.contact h2 {
    margin: 0 0 18px;
    font-size: 36px;
}

.section-description {
    max-width: 650px;
    margin: 0 auto 45px;
    line-height: 1.7;
    color: var(--text-soft);
}

/* HOME SERVICE CARDS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
    gap: 30px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 265px;
    padding: 40px 30px;
    background: var(--ivory);
    border: 1px solid var(--sand);
    border-radius: 10px;
    text-align: left;
    transition: transform .2s, box-shadow .2s;
}

.service-card::before {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    margin-bottom: 20px;
    background: var(--mocha);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(48,41,35,.08);
}

.service-card h3 {
    margin: 0 0 15px;
    font-size: 24px;
}

.service-card p {
    line-height: 1.8;
    color: var(--text-soft);
}

.service-link {
    margin-top: auto;
    color: var(--mocha);
    font-weight: bold;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* PORTFOLIO */

.portfolio {
    padding: 90px 8%;
    background: var(--ivory);
    text-align: center;
}

.portfolio-eyebrow {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--mocha);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1100px;
    gap: 30px;
    margin: 50px auto 0;
}

.portfolio-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: 12px;
    text-align: left;
    transition: transform .25s, box-shadow .25s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(48,41,35,.08);
}

.portfolio-card-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 35px;
}

/* AURORA PORTFOLIO PREVIEW */

.aurora-visual {
    background: linear-gradient(
        135deg,
        #F7F9F8 0%,
        #DDE9E6 52%,
        #93B6B4 100%
    );
}

.portfolio-number {
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 11px;
    letter-spacing: 2px;
    color: #416D73;
}

.portfolio-brand {
    text-align: center;
    color: #253C42;
}

.portfolio-symbol {
    display: block;
    margin-bottom: 5px;
    font-size: 43px;
    color: #416D73;
}

.portfolio-brand h3 {
    margin: 5px 0;
    font-family: Georgia, serif;
    font-size: 58px;
    font-weight: normal;
}

.portfolio-brand p {
    margin: 8px 0;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #416D73;
}

.portfolio-brand-tagline {
    display: block;
    margin-top: 22px;
    font-family: Georgia, serif;
    font-size: 16px;
    color: #416D73;
}

.portfolio-card-content {
    padding: 32px;
}

.portfolio-category {
    margin: 0;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--mocha);
}

.portfolio-card-content h3 {
    margin: 16px 0;
    font-size: 25px;
}

.portfolio-card-content > p:not(.portfolio-category) {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-soft);
}

.portfolio-type {
    font-size: 12px !important;
    font-style: italic;
}

.portfolio-link {
    display: inline-block;
    margin-top: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--mocha);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.portfolio-link:hover {
    color: var(--mocha);
}

/* ABOUT */

.about {
    padding: 90px 8%;
    background: var(--white);
    text-align: center;
}

.about p {
    max-width: 750px;
    margin: 16px auto;
    line-height: 1.85;
    color: var(--text-soft);
}

/* CONTACT CTA */

.contact {
    padding: 90px 8%;
    background: var(--sand);
    text-align: center;
}

.contact p {
    max-width: 750px;
    margin: 16px auto;
    line-height: 1.85;
    color: var(--text-soft);
}

.contact .btn {
    margin-top: 20px;
}

/* FOOTER */

.footer {
    padding: 28px 12px;
    background: var(--espresso);
    color: var(--ivory);
    text-align: center;
    font-size: 13px;
}

.footer p {
    margin: 0;
}

/* INNER PAGE HERO */

.creative-hero {
    padding: 110px 20px 100px;
    background: var(--ivory);
    text-align: center;
}

.eyebrow {
    margin: 0 0 22px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--mocha);
}

.creative-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(36px, 6vw, 54px);
}

.creative-description {
    max-width: 620px;
    margin: auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-soft);
}

/* CREATIVE / DIGITAL / GROWTH CARDS */

.creative-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
    gap: 26px;
    margin: 45px auto 0;
}

.creative-card {
    padding: 38px;
    background: var(--ivory);
    border: 1px solid var(--sand);
    border-radius: 10px;
    text-align: left;
    transition: transform .2s, box-shadow .2s;
}

.creative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(48,41,35,.08);
}

.creative-card h3 {
    margin: 0 0 15px;
    font-size: 22px;
}

.creative-card p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-soft);
}

/* PRICING */

.pricing {
    padding: 90px 8%;
    background: var(--ivory);
    text-align: center;
}

.branding-pricing {
    background: var(--branding-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
    gap: 26px;
    margin: 0 auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 35px 28px;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: 10px;
    text-align: left;
}

.pricing-card h3 {
    margin: 0 0 16px;
    font-size: 23px;
}

.price {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--mocha);
}

.price span {
    font-size: 13px;
    font-weight: normal;
    color: var(--text-soft);
}

.pricing-card ul {
    margin: 0 0 30px;
    padding-left: 20px;
    line-height: 1.9;
    color: var(--text-soft);
}

.btn-plan {
    display: block;
    margin-top: auto;
    padding: 14px 12px;
    background: var(--espresso);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background .2s;
}

.btn-plan:hover {
    background: var(--mocha);
}

.pricing-note {
    max-width: 840px;
    margin: 30px auto 0;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft);
}

/* CONTACT FORM */

.contact-form-section {
    padding: 30px 8% 100px;
    background: var(--ivory);
}

.contact-form {
    max-width: 780px;
    margin: 0 auto;
    padding: 45px;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--espresso);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 47px;
    padding: 14px;
    background: var(--white);
    color: var(--espresso);
    border: 1px solid var(--sand);
    border-radius: 6px;
    font: inherit;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    font-family: inherit;
}

.form-note {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    color: var(--text-soft);
}

/* ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLETS */

@media (max-width: 1000px) {
    .services-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILES */

@media (max-width: 700px) {
    .header {
        flex-direction: column;
        padding: 20px 5%;
        text-align: center;
    }

    .nav {
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: 440px;
        padding: 65px 6%;
    }

    .hero h2 {
        font-size: 19px;
        letter-spacing: 2px;
    }

    .hero-image-section {
        padding: 0 5% 55px;
    }

    .hero-image {
        height: 260px;
    }

    .services,
    .creative-services,
    .pricing,
    .portfolio {
        padding: 65px 5%;
    }

    .services-grid,
    .creative-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card-visual {
        min-height: 240px;
    }

    .portfolio-brand h3 {
        font-size: 46px;
    }

    .portfolio-card-content {
        padding: 25px;
    }

    .creative-hero {
        padding: 75px 5% 65px;
    }

    .about,
    .contact {
        padding: 65px 5%;
    }

    .contact-form-section {
        padding: 20px 5% 65px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
