/* ==================================================
   TOMAS HANDYMAN
   Main desktop stylesheet
   ================================================== */


/* ==================================================
   1. GLOBAL SETTINGS
   ================================================== */

:root {
    --primary-blue: #0784d1;
    --primary-blue-dark: #05598f;
    --primary-blue-light: #eaf6fd;

    --dark: #0a1724;
    --dark-light: #172736;

    --white: #ffffff;
    --off-white: #f7f9fb;

    --grey: #65717d;
    --grey-light: #dce5eb;

    --yellow: #f4b91d;
    --whatsapp: #1fa855;

    --heading-font: "Barlow Condensed", sans-serif;
    --body-font: "Inter", sans-serif;

    --page-width: 1280px;
    --header-height: 88px;

    --small-radius: 8px;
    --medium-radius: 16px;
    --large-radius: 34px;

    --shadow-small: 0 10px 30px rgba(10, 23, 36, 0.1);
    --shadow-large: 0 25px 65px rgba(10, 23, 36, 0.18);
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    min-width: 320px;
    color: var(--dark);
    background-color: var(--white);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


ul {
    list-style: none;
}


/* ==================================================
   2. REUSABLE ELEMENTS
   ================================================== */

.section-container {
    width: min(100% - 48px, var(--page-width));
    margin: 0 auto;
}


.section-label {
    margin-bottom: 14px;
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}


.light-label {
    color: #83d2ff;
}


.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 48px;
}


.section-heading h2,
.about-preview-content h2,
.contact-banner h2 {
    font-family: var(--heading-font);
    font-size: clamp(52px, 5vw, 78px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}


.section-heading h2 span {
    display: block;
    color: var(--primary-blue);
}


.section-heading-description {
    max-width: 440px;
    color: var(--grey);
    font-size: 17px;
}


.primary-button,
.whatsapp-button,
.secondary-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 2px solid transparent;
    border-radius: var(--small-radius);
    font-size: 15px;
    font-weight: 800;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.primary-button {
    color: var(--white);
    background-color: var(--primary-blue);
}


.primary-button:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
}


.whatsapp-button {
    color: var(--white);
    background-color: var(--whatsapp);
}


.whatsapp-button:hover {
    background-color: #188847;
    transform: translateY(-2px);
}


.secondary-button {
    color: var(--white);
    background-color: var(--dark);
}


.secondary-button:hover {
    color: var(--dark);
    background-color: var(--yellow);
    transform: translateY(-2px);
}


.text-link {
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 800;
    transition: color 0.2s ease;
}


.text-link:hover {
    color: var(--primary-blue-dark);
}


/* ==================================================
   3. HEADER AND NAVIGATION
   ================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--grey-light);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
}


.header-container {
    display: flex;
    width: min(100% - 48px, 1380px);
    height: 100%;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}


.logo-link {
    display: inline-flex;
    align-items: center;
}


.main-logo {
    width: 205px;
    height: auto;
}


.main-navigation {
    display: flex;
    align-items: center;
    gap: 31px;
}


.navigation-link {
    position: relative;
    padding: 32px 0;
    color: var(--dark-light);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}


.navigation-link::after {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    height: 3px;
    border-radius: 10px;
    background-color: var(--primary-blue);
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s ease;
}


.navigation-link:hover,
.navigation-link.active {
    color: var(--primary-blue);
}


.navigation-link:hover::after,
.navigation-link.active::after {
    transform: scaleX(1);
}


.header-phone-button {
    padding: 13px 20px;
    border-radius: var(--small-radius);
    color: var(--white);
    background-color: var(--dark);
    font-size: 14px;
    font-weight: 800;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.header-phone-button:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}


.mobile-menu-button {
    display: none;
    width: 46px;
    height: 42px;
    border: 0;
    border-radius: var(--small-radius);
    background-color: var(--dark);
    cursor: pointer;
}


.mobile-menu-button span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    border-radius: 5px;
    background-color: var(--white);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* ==================================================
   4. HERO SECTION
   ================================================== */

.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background:
        linear-gradient(
            122deg,
            var(--white) 0%,
            var(--white) 58%,
            var(--primary-blue-light) 58%,
            var(--primary-blue-light) 100%
        );
}


.hero-container {
    display: grid;
    width: min(100% - 70px, 1380px);
    min-height: 720px;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 65px;
    margin: 0 auto;
    padding-top: 60px;
}


.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}


.hero-title {
    max-width: 780px;
    font-family: var(--heading-font);
    font-size: clamp(78px, 7vw, 114px);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}


.hero-title span {
    display: block;
    color: var(--primary-blue);
}


.hero-description {
    max-width: 610px;
    margin: 28px 0 32px;
    color: var(--grey);
    font-size: 19px;
    line-height: 1.7;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}


.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 33px;
}


.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #354351;
    font-size: 13px;
    font-weight: 700;
}


.benefit-check {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--primary-blue);
    font-size: 13px;
}


.hero-image-container {
    position: relative;
    align-self: end;
    max-width: 570px;
    margin: 0 auto;
}


.hero-image {
    width: 100%;
    height: 625px;
    border-radius: var(--large-radius) var(--large-radius) 0 0;
    box-shadow: var(--shadow-large);
    object-fit: cover;
    object-position: center top;
}


.availability-card {
    position: absolute;
    bottom: 36px;
    left: -34px;
    display: flex;
    min-width: 275px;
    align-items: center;
    gap: 15px;
    padding: 16px 19px;
    border: 1px solid rgba(10, 23, 36, 0.07);
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow-small);
}


.availability-dot {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #2bbf67;
    box-shadow: 0 0 0 6px #ddf6e7;
}


.availability-card strong,
.availability-card small {
    display: block;
}


.availability-card strong {
    color: var(--dark);
    font-size: 14px;
}


.availability-card small {
    margin-top: 2px;
    color: var(--grey);
    font-size: 12px;
}


/* ==================================================
   5. SERVICES SECTION
   ================================================== */

.services-introduction {
    padding: 110px 0;
    background-color: var(--white);
}


.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.service-card {
    position: relative;
    display: flex;
    min-height: 585px;
    flex-direction: column;
    overflow: hidden;
    padding: 33px;
    border-radius: var(--medium-radius);
}


.handyman-card {
    color: var(--white);
    background:
        linear-gradient(
            145deg,
            var(--primary-blue) 0%,
            #0466a4 100%
        );
}


.mechanic-card {
    color: var(--white);
    background:
        linear-gradient(
            145deg,
            var(--dark-light) 0%,
            var(--dark) 100%
        );
}


.van-card {
    color: var(--dark);
    background:
        linear-gradient(
            145deg,
            #ffd95e 0%,
            var(--yellow) 100%
        );
}


.service-card-number {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.65;
}


.service-icon {
    margin: 43px 0 27px;
    font-size: 57px;
    line-height: 1;
}


.service-card h3 {
    margin-bottom: 17px;
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}


.service-card > p {
    margin-bottom: 22px;
    font-size: 15px;
    opacity: 0.85;
}


.service-list {
    margin-bottom: 30px;
}


.service-list li {
    position: relative;
    padding: 5px 0 5px 22px;
    font-size: 15px;
}


.service-list li::before {
    position: absolute;
    top: 5px;
    left: 0;
    content: "—";
    opacity: 0.7;
}


.service-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid currentColor;
    font-size: 14px;
    font-weight: 800;
}


.service-card-link span {
    font-size: 23px;
    transition: transform 0.2s ease;
}


.service-card-link:hover span {
    transform: translateX(5px);
}


/* ==================================================
   6. ABOUT PREVIEW
   ================================================== */

.about-preview {
    display: grid;
    min-height: 760px;
    grid-template-columns: 0.82fr 1.18fr;
    background-color: var(--primary-blue-light);
}


.about-preview-image {
    height: 760px;
    overflow: hidden;
    background-color: var(--dark);
}


.about-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


.about-preview-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px clamp(50px, 8vw, 130px);
}


.about-preview-content h2 {
    max-width: 700px;
    margin-bottom: 25px;
}


.about-preview-description {
    max-width: 680px;
    margin-bottom: 25px;
    color: var(--grey);
    font-size: 18px;
}


.process-list {
    max-width: 680px;
    margin-bottom: 34px;
}


.process-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #c8dce9;
}


.process-number {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--primary-blue);
    font-weight: 800;
}


.process-item h3 {
    margin-bottom: 2px;
    font-size: 16px;
}


.process-item p {
    color: var(--grey);
    font-size: 14px;
}


/* ==================================================
   7. GALLERY PREVIEW
   ================================================== */

.gallery-preview {
    padding: 110px 0;
    background-color: var(--white);
}


.gallery-empty-state {
    padding: 70px 30px;
    border: 2px dashed #bed2df;
    border-radius: var(--medium-radius);
    background-color: var(--off-white);
    text-align: center;
}


.gallery-empty-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--primary-blue);
    font-size: 34px;
    font-weight: 800;
}


.gallery-empty-state h3 {
    margin-bottom: 8px;
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
}


.gallery-empty-state p {
    max-width: 580px;
    margin: 0 auto;
    color: var(--grey);
}


/* ==================================================
   8. CONTACT BANNER
   ================================================== */

.contact-banner {
    padding: 95px 0;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--primary-blue-dark) 0%,
            #073b60 100%
        );
}


.contact-banner-content {
    display: grid;
    width: min(100% - 48px, var(--page-width));
    grid-template-columns: 1fr 0.8fr;
    align-items: flex-end;
    gap: 80px;
    margin: 0 auto;
}


.contact-banner h2 {
    margin-bottom: 20px;
}


.contact-banner p:not(.section-label) {
    max-width: 650px;
    color: #d7ebf7;
    font-size: 18px;
}


.contact-banner-buttons {
    display: grid;
    gap: 13px;
}


.contact-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 17px 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}


.contact-method:hover {
    color: var(--primary-blue-dark);
    background-color: var(--white);
    transform: translateY(-2px);
}


.contact-method span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.contact-method strong {
    font-size: 18px;
}


/* ==================================================
   9. FOOTER
   ================================================== */

.main-footer {
    color: #a6b4c0;
    background-color: #06111b;
}


.footer-container {
    display: grid;
    width: min(100% - 48px, var(--page-width));
    grid-template-columns: 1.5fr 0.7fr 0.7fr;
    gap: 70px;
    margin: 0 auto;
    padding: 70px 0;
}


.footer-brand img {
    width: 205px;
    margin-bottom: 20px;
    border-radius: 6px;
}


.footer-brand p {
    max-width: 420px;
    font-size: 14px;
}


.footer-navigation,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}


.footer-navigation h2,
.footer-contact h2 {
    margin-bottom: 7px;
    color: var(--white);
    font-size: 15px;
}


.footer-navigation a,
.footer-contact a {
    font-size: 14px;
    transition: color 0.2s ease;
}


.footer-navigation a:hover,
.footer-contact a:hover {
    color: #83d2ff;
}


.footer-bottom {
    width: min(100% - 48px, var(--page-width));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    text-align: center;
}


/* ==================================================
   10. FLOATING WHATSAPP BUTTON
   ================================================== */

.floating-whatsapp-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    color: var(--white);
    background-color: var(--whatsapp);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    font-weight: 800;
}