/* #region Vars */
:root {
    /* #region Collor Palette */
    /* Primary */
    --primary-1: hsl(312, 93%, 27%);
    --primary-2: hsl(315, 93%, 33%);
    --primary-3: hsl(318, 79%, 38%);
    --primary-4: hsl(322, 90%, 39%);
    --primary-5: hsl(326, 85%, 46%);
    --primary-6: hsl(330, 79%, 56%);
    --primary-7: hsl(334, 86%, 67%);
    --primary-8: hsl(336, 100%, 77%);
    --primary-9: hsl(338, 100%, 86%);
    --primary-10: hsl(341, 100%, 95%);

    /* Neutrals */
    /* Blue grey */
    --blue-grey-1: hsl(209, 61%, 16%);
    --blue-grey-2: hsl(211, 39%, 23%);
    --blue-grey-3: hsl(209, 34%, 30%);
    --blue-grey-4: hsl(209, 28%, 39%);
    --blue-grey-5: hsl(210, 22%, 49%);
    --blue-grey-6: hsl(209, 23%, 60%);
    --blue-grey-7: hsl(211, 27%, 70%);
    --blue-grey-8: hsl(210, 31%, 80%);
    --blue-grey-9: hsl(212, 33%, 89%);
    --blue-grey-10: hsl(210, 36%, 96%);

    /* Cool grey */
    --cool-grey-1: hsl(210, 24%, 16%);
    --cool-grey-2: hsl(209, 20%, 25%);
    --cool-grey-3: hsl(209, 18%, 30%);
    --cool-grey-4: hsl(209, 14%, 37%);
    --cool-grey-5: hsl(211, 12%, 43%);
    --cool-grey-6: hsl(211, 10%, 53%);
    --cool-grey-7: hsl(211, 13%, 65%);
    --cool-grey-8: hsl(210, 16%, 82%);
    --cool-grey-9: hsl(214, 15%, 91%);
    --cool-grey-10: hsl(216, 33%, 97%);

    /* Grey */
    --grey-1: hsl(0, 0%, 13%);
    --grey-2: hsl(0, 0%, 23%);
    --grey-3: hsl(0, 0%, 32%);
    --grey-4: hsl(0, 0%, 38%);
    --grey-5: hsl(0, 0%, 49%);
    --grey-6: hsl(0, 0%, 62%);
    --grey-7: hsl(0, 0%, 69%);
    --grey-8: hsl(0, 0%, 81%);
    --grey-9: hsl(0, 0%, 88%);
    --grey-10: hsl(0, 0%, 97%);
    --grey-11: hsl(0, 0%, 98%);
    --grey-12: hsl(0, 0%, 99%);
    --grey-13: hsl(0, 0%, 100%);
    
    /* Warm grey */
    --warm-grey-1: hsl(42, 15%, 13%);
    --warm-grey-2: hsl(40, 13%, 23%);
    --warm-grey-3: hsl(37, 11%, 28%);
    --warm-grey-4: hsl(41, 9%, 35%);
    --warm-grey-5: hsl(41, 8%, 48%);
    --warm-grey-6: hsl(41, 8%, 61%);
    --warm-grey-7: hsl(39, 11%, 69%);
    --warm-grey-8: hsl(40, 15%, 80%);
    --warm-grey-9: hsl(43, 13%, 90%);
    --warm-grey-10: hsl(40, 23%, 97%);


    /* Accents */
    /* Purple */
    --accent-purple-1: hsl(276, 91%, 23%);
    --accent-purple-2: hsl(274, 87%, 31%);
    --accent-purple-3: hsl(274, 87%, 37%);
    --accent-purple-4: hsl(274, 87%, 43%);
    --accent-purple-5: hsl(273, 80%, 49%);
    --accent-purple-6: hsl(268, 82%, 60%);
    --accent-purple-7: hsl(264, 96%, 70%);
    --accent-purple-8: hsl(262, 100%, 78%);
    --accent-purple-9: hsl(262, 100%, 88%);
    --accent-purple-10: hsl(262, 90%, 96%);

    /* Cyan */
    --accent-cyan-1: hsl(188, 91%, 23%);
    --accent-cyan-2: hsl(186, 91%, 29%);
    --accent-cyan-3: hsl(184, 90%, 34%);
    --accent-cyan-4: hsl(182, 85%, 39%);
    --accent-cyan-5: hsl(180, 77%, 47%);
    --accent-cyan-6: hsl(178, 78%, 57%);
    --accent-cyan-7: hsl(176, 87%, 67%);
    --accent-cyan-8: hsl(174, 96%, 78%);
    --accent-cyan-9: hsl(172, 97%, 88%);
    --accent-cyan-10: hsl(171, 82%, 94%);

    /* Red */
    --accent-red-1: hsl(348, 94%, 20%);
    --accent-red-2: hsl(350, 94%, 28%);
    --accent-red-3: hsl(352, 90%, 35%);
    --accent-red-4: hsl(354, 85%, 44%);
    --accent-red-5: hsl(356, 75%, 53%);
    --accent-red-6: hsl(360, 83%, 62%);
    --accent-red-7: hsl(360, 91%, 69%);
    --accent-red-8: hsl(360, 100%, 80%);
    --accent-red-9: hsl(360, 100%, 87%);
    --accent-red-10: hsl(360, 100%, 95%);

    /* Yellow */
    --accent-yellow-1: hsl(15, 86%, 30%);
    --accent-yellow-2: hsl(22, 82%, 39%);
    --accent-yellow-3: hsl(29, 80%, 44%);
    --accent-yellow-4: hsl(36, 77%, 49%);
    --accent-yellow-5: hsl(42, 87%, 55%);
    --accent-yellow-6: hsl(44, 92%, 63%);
    --accent-yellow-7: hsl(48, 94%, 68%);
    --accent-yellow-8: hsl(48, 95%, 76%);
    --accent-yellow-9: hsl(48, 100%, 88%);
    --accent-yellow-10: hsl(49, 100%, 96%);
    /* #endregion */

    /* #region Shadows */
    --shadow-0: 0 1px 1px rgba(0, 0, 0, 0.01), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-2: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-3: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10);
    --shadow-4: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05);
    --shadow-5: 0 20px 40px rgba(0, 0, 0, 0.20);
    /* #endregion */
    /* #region Spacing */
    --spacing-1: 4px;
    --spacing-2: 8px;
    --spacing-3: 12px;
    --spacing-4: 16px;
    --spacing-5: 24px;
    --spacing-6: 32px;
    --spacing-7: 48px;
    --spacing-8: 64px;
    --spacing-9: 96px;
    --spacing-10: 128px;
    --spacing-11: 192px;
    --spacing-12: 256px;
    --spacing-13: 384px;
    --spacing-14: 512px;
    --spacing-15: 768px;
    --spacing-16: 960px;
    --spacing-17: 1024px;
    --spacing-18: 1536px;
    --spacing-19: 2048px;
    /* #endregion */

    /* #region Typography */
    --font-family-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-family-serif: 'Georgia', serif;
    --font-family-monospace: 'Courier New', Courier, monospace;
    --font-size-1: 12px;
    --font-size-2: 16px;
    --font-size-3: 20px;
    --font-size-4: 24px;
    --font-size-5: 32px;
    /* #endregion */
}
/* #endregion */

/* #region Base */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    background-color: var(--grey-10);
    height: 100%;
    padding-block: var(--spacing-4);
}

body {
    font-family: var(--font-family-sans);
    width: var(--spacing-16);
    height: 100%;
    margin: 0 auto;
}

.page {
    flex: 1;
}

section {
    background-color: var(--grey-13);
    border-radius: 8px;
    box-shadow: var(--shadow-1);
    padding: var(--spacing-5);
    margin-bottom: var(--spacing-5);
}

/* #region Buttons */
.buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

button {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

button.primary {
    background: linear-gradient(90deg, var(--primary-4), var(--primary-7));
    color: white;
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: var(--shadow-2);
    transform: translateY(0);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

button.primary:active {
    box-shadow: var(--shadow-0);
    transform: translateY(1px);
}

button.secondary {
    background-color: var(--grey-10);
    border: 2px solid transparent;
    border-radius: 8px;
    background:
        linear-gradient(var(--grey-10), var(--grey-10)) padding-box,
        linear-gradient(90deg, var(--primary-3), var(--primary-5)) border-box;
    color: var(--grey-3);
    padding: 7px 12px;
    box-shadow: var(--shadow-1);
    transform: translateY(0);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

button.secondary > span {
    background: linear-gradient(90deg, var(--primary-1), var(--primary-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

button.secondary:active {
    box-shadow: var(--shadow-0);
    transform: translateY(1px);
}

/* #endregion */

/* #endregion */

/* #region Navbar */
.navbar {
    display: flex;
    align-items: center;
    background: var(--grey-13);
    border: 1px solid var(--grey-9);
    border-radius: 12px;
    box-shadow: var(--shadow-1);
    padding: 8px 10px;
    margin-inline: var(--spacing-5);
    margin-bottom: var(--spacing-5);
    gap: 4px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--grey-3);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    padding: 10px 12px;
    border-radius: 8px;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--grey-2);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--primary-3);
}

.nav-link.active::after {
    transform: scaleX(1);
}
/* #endregion */

/* #region Sections */
/* #region Hero */
.hero-section {
    border-radius: 14px;
    overflow: hidden;
    background-image: linear-gradient(rgba(12, 20, 32, 0.58), rgba(12, 20, 32, 0.58)), url("../images/image_1-304cc2c9c4514c3c170858629f647b8f.jpg");
    background-size: cover;
    box-shadow: var(--shadow-3);
    margin-inline: 0;
    height: 640px;
}

.hero-overlay {
    min-height: 360px;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
}

.hero-title {
    margin: 0;
    color: var(--grey-13);
    font-size: 36px;
    line-height: 1.2;
}

.hero-text {
    max-width: 620px;
    margin: 0;
    color: var(--cool-grey-9);
    font-size: 17px;
}

.hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    justify-content: center;
    gap: 18px;
    margin-top: 4px;
}

.hero-action-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-intro-list {
    margin-top: var(--spacing-1);
    list-style-position: inside;
    color: var(--grey-10);
    display: grid;
    gap: var(--spacing-2);
    text-align: start;
    max-width: var(--spacing-11);
    padding: 0;
    font-size: var(--spacing-4);
}

.hero-intro-list li {
    line-height: 1.5;
}
/* #endregion */

/* #region Showcase */
/* .section-showcase {
    margin-bottom: 32px;
} */

.showcase {
    border-radius: 14px;
    overflow: hidden;
    padding: 24px;
    min-height: 320px;
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    align-items: center;
    gap: 24px;
    background-size: cover;
    box-shadow: var(--shadow-3);
    margin-inline: 0;
    height: 640px;
}

.showcase-1 {
    background-image: linear-gradient(rgba(12, 20, 32, 0.6), rgba(12, 20, 32, 0.6)), url("../images/image_2-ae6fb006cdb741569195033f6ff7752c.jpg");
}

.showcase-2 {
    background-image: linear-gradient(rgba(12, 20, 32, 0.6), rgba(12, 20, 32, 0.6)), url("../images/image_3-527e98897830a84844e6a9ddb79fb909.jpg");
}

.showcase-left {
    background: rgba(255, 255, 255, 0.52);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.showcase-left .title {
    margin: 0;
}

.showcase-left .description {
    margin-bottom: 12px;
    color: var(--grey-4);
}

.showcase-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--grey-3);
    font-size: 14px;
    line-height: 1.5;
}

.showcase-action {
    margin-top: var(--spacing-4);
    align-self: flex-start;
}

.showcase-right {
    border-radius: 12px;
    padding: 12px;
    align-self: center;
    min-width: 0;
}

.showcase-gallery {
    width: 100%;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.showcase-gallery::-webkit-scrollbar {
    display: none;
}

.showcase-gallery.dragging {
    cursor: grabbing;
}

.showcase-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.showcase-gallery-item {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow-1);
    flex: 0 0 170px;
    height: 170px;
}

.showcase-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.plain-section {
    background-color: white;
    border-radius: 14px;
    overflow: hidden;
    padding: 24px;
    min-height: 320px;
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    align-items: center;
    gap: 24px;
    background-size: cover;
    box-shadow: var(--shadow-3);
    margin-inline: 0;
    height: 640px;
}
/* #endregion */

/* #region Footer */
.site-footer {
    background: linear-gradient(180deg, var(--grey-13), var(--grey-12));
    border: 1px solid var(--grey-9);
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    margin-bottom: var(--spacing-5);
    padding: var(--spacing-5) var(--spacing-6);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-4);
    text-align: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    min-height: 116px;
}

.footer-column + .footer-column {
    border-left: 1px solid var(--grey-9);
}

.footer-nav-link {
    color: var(--grey-3);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-nav-link:hover {
    color: var(--primary-3);
    transform: translateY(-1px);
}

.footer-copyright {
    margin-top: var(--spacing-5);
    padding-top: var(--spacing-3);
    border-top: 1px solid var(--grey-9);
    color: var(--grey-5);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 760px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-column + .footer-column {
        border-left: none;
        border-top: 1px solid var(--grey-9);
        padding-left: 0;
        padding-top: var(--spacing-3);
    }
}
/* #endregion */


/* #endregion */