
/* =====================================================
   JB INTERIORS DECOR
   Main Stylesheet
   Theme: Gold | Charcoal | White
===================================================== */


/* 1. GOOGLE FONTS
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');


/* 2. ROOT VARIABLES
===================================================== */

:root {
    --gold: #c49a45;
    --gold-dark: #a77d2e;
    --gold-light: #e2c98f;

    --dark: #202020;
    --dark-light: #303030;

    --white: #ffffff;
    --off-white: #f8f7f4;
    --light: #f1f0ec;

    --text: #555555;
    --muted: #888888;
    --border: #e8e5de;

    --font-main: 'DM Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --container: 1200px;

    --transition: all 0.3s ease;

    --shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 18px 45px rgba(0, 0, 0, 0.13);
}


/* 3. RESET AND GLOBAL STYLES
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-main);
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
}

button,
input,
textarea,
select {
    font-size: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 95px 0;
}

.section-light {
    background: var(--off-white);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--dark);
    line-height: 1.25;
}

h1,
h2 {
    font-family: var(--font-heading);
}

p {
    margin-bottom: 15px;
}

::selection {
    background: var(--gold);
    color: var(--white);
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}


/* 4. BUTTONS
===================================================== */

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

    padding: 14px 27px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;

    border: 1px solid transparent;
    border-radius: 3px;

    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gold);
    transform: translateY(-3px);
}


/* 5. SECTION HEADINGS
===================================================== */

.section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading .subtitle,
.subtitle {
    display: inline-block;
    margin-bottom: 13px;

    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 43px);
}

.section-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text);
}


/* 6. HEADER AND NAVIGATION
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    background: var(--white);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.035);
}

.nav-container {
    min-height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    background: var(--gold);
    color: var(--white);

    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    color: var(--dark);
    font-size: 14px;
    letter-spacing: 1.3px;
}

.logo-text small {
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 10px;
    letter-spacing: 4px;
}

.main-nav {
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    position: relative;
    padding: 10px 0;

    color: var(--dark);
    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.nav-links a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 20px;

    background: var(--gold);
    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}

.nav-contact:hover {
    background: var(--dark);
}

.nav-contact i {
    font-size: 16px;
}

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    background: var(--dark);
    color: var(--white);

    font-size: 20px;
}


/* 7. HOMEPAGE HERO
===================================================== */

.hero {
    padding: 75px 0;
    min-height: 620px;

    display: flex;
    align-items: center;

    background: var(--off-white);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 55px;
}

.hero-content {
    width: 100%;
    max-width: 570px;
    position: relative;
    z-index: 2;
}

.hero-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;

    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-content .eyebrow span {
    width: 25px;
    height: 2px;
    background: var(--gold);
}

.hero-content h1 {
    margin-bottom: 23px;

    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.13;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    max-width: 490px;
    margin-bottom: 28px;

    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 25px;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 13px;
    color: var(--text);
}

.hero-location i {
    color: var(--gold);
}


/* Hero image area */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 480px;
    margin-left: auto;
}

/* Main hero image */

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;

    width: 83%;
    height: 420px;

    overflow: hidden;
}

.hero-image-main img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
    object-position: center;
}

/* Smaller overlapping image */

.hero-image-small {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 43%;
    height: 210px;

    overflow: hidden;

    border: 8px solid var(--off-white);
    z-index: 2;
}

.hero-image-small img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
    object-position: center;
}

/* Image caption */

.hero-image-caption {
    position: absolute;
    right: 0;
    bottom: 65px;

    width: 76%;
    padding: 15px 20px;

    display: flex;
    flex-direction: column;
    gap: 5px;

    background: var(--gold);
    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    z-index: 3;
}

.hero-image-caption span {
    font-size: 11px;
    letter-spacing: 1px;
}


/* 8. HOMEPAGE INTRODUCTION
===================================================== */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.intro-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.intro-content h2 {
    margin-bottom: 22px;
    font-size: clamp(30px, 4vw, 43px);
}

.intro-content p {
    margin-bottom: 18px;
}

.intro-content .btn {
    margin-top: 12px;
}


/* 9. HOMEPAGE SERVICES
===================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-item {
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.07);
}

.service-info {
    padding: 27px;
}

.service-info h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.service-info p {
    font-size: 14px;
}

.service-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;

    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
}


/* 10. HOMEPAGE FEATURED PROJECTS SLIDER
===================================================== */

.featured-projects {
    background: var(--dark);
    overflow: hidden;
}

.featured-projects h2 {
    color: var(--white);
}

.featured-projects .section-heading p {
    color: #cccccc;
}

.project-slider {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 480px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    position: absolute;
    content: "";
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        transparent 65%
    );
}

.slide-caption {
    position: absolute;
    z-index: 2;

    left: 45px;
    bottom: 45px;

    color: var(--white);
}

.slide-caption h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 30px;
}

.slide-caption p {
    color: #eeeeee;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 28px;
}

.slider-controls button {
    width: 43px;
    height: 43px;

    background: transparent;
    border: 1px solid var(--gold);

    color: var(--gold);
    font-size: 16px;

    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--gold);
    color: var(--white);
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.slider-dots button {
    width: 9px;
    height: 9px;

    padding: 0;
    border-radius: 50%;

    background: #777777;
}

.slider-dots button.active {
    background: var(--gold);
}


/* 11. HOMEPAGE BENEFITS
===================================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit {
    padding: 35px 25px;
    background: var(--off-white);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.benefit:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-5px);
}

.benefit i {
    margin-bottom: 20px;
    color: var(--gold);
    font-size: 30px;
}

.benefit h3 {
    margin-bottom: 12px;
    font-size: 19px;
}


/* 12. WORK PROCESS
===================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-step {
    position: relative;
    padding: 30px 22px;
    background: var(--off-white);
}

.process-step span {
    display: inline-grid;
    place-items: center;

    width: 48px;
    height: 48px;

    margin-bottom: 22px;

    background: var(--gold);
    color: var(--white);

    font-size: 16px;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 18px;
}


/* 13. COVERAGE SECTION
===================================================== */

.coverage-section {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
}

.coverage-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.coverage-content h2 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 35px;
}

.coverage-content p {
    max-width: 600px;
    color: #cccccc;
}

.coverage-card {
    min-width: 220px;
    padding: 28px;
    background: var(--gold);
    text-align: center;
}

.coverage-card i {
    display: block;
    margin-bottom: 12px;
    font-size: 30px;
}

.coverage-card strong {
    display: block;
    font-size: 17px;
}


/* 14. HOMEPAGE FINAL CTA
===================================================== */

.final-cta {
    padding: 85px 0;
    background: var(--gold);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(30px, 4vw, 43px);
}

.final-cta p {
    max-width: 650px;
    margin: 0 auto 28px;
}

.final-cta .btn {
    background: var(--dark);
    color: var(--white);
}

.final-cta .btn:hover {
    background: var(--white);
    color: var(--dark);
}


/* 15. INNER PAGE HERO
===================================================== */

.page-hero {
    position: relative;

    min-height: 330px;
    padding: 85px 0;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(20, 20, 20, 0.72),
            rgba(20, 20, 20, 0.72)
        ),
        url('../images/hero-detail.jpg') center/cover no-repeat;

    text-align: center;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: clamp(38px, 5vw, 53px);
}

.page-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #eeeeee;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 20px;

    color: #eeeeee;
    font-size: 12px;
}

.breadcrumb a {
    color: var(--gold-light);
}

.breadcrumb i {
    font-size: 10px;
}


/* 16. SERVICES PAGE
===================================================== */

.services-hero,
.projects-hero,
.contact-hero {
    background-position: center;
}

.services-intro {
    text-align: center;
}

.services-intro > .container > p {
    max-width: 750px;
    margin: 0 auto;
}

.services-list {
    background: var(--off-white);
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    margin-bottom: 45px;

    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-card:nth-child(even) .service-image {
    order: 2;
}

.service-card .service-image {
    height: 380px;
}

.service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    position: relative;
    padding: 45px;
}

.service-number {
    display: inline-block;
    margin-bottom: 15px;

    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 35px;
}

.service-content h3 {
    margin-bottom: 18px;
    font-size: 27px;
}

.service-content p {
    font-size: 14px;
}

.service-content ul {
    margin: 20px 0;
}

.service-content li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 25px;
    font-size: 14px;
}

.service-content li::before {
    position: absolute;
    left: 0;
    content: "\f00c";

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    color: var(--gold);
}

.service-approach {
    padding: 90px 0;
}

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.approach-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.approach-content h2 {
    margin-bottom: 20px;
    font-size: 38px;
}

.approach-points {
    margin-top: 25px;
}

.approach-points li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 18px;
}

.approach-points i {
    margin-top: 5px;
    color: var(--gold);
}

.process-section {
    background: var(--off-white);
}

.services-cta {
    padding: 85px 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 40px;
}

.cta-content p {
    margin-bottom: 25px;
    color: #cccccc;
}


/* 17. PROJECTS PAGE
===================================================== */

.projects-intro {
    text-align: center;
}

.projects-intro p {
    max-width: 720px;
    margin: 0 auto;
}

.project-gallery-section {
    background: var(--off-white);
}

.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;

    margin-bottom: 35px;
}

.gallery-heading h2 {
    margin-bottom: 5px;
    font-size: 27px;
}

.gallery-heading p {
    margin: 0;
    font-size: 13px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-filter {
    padding: 10px 18px;

    background: var(--white);
    border: 1px solid var(--border);

    color: var(--dark);
    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 25px;
}

.masonry-gallery .masonry-item {
    min-width: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.masonry-gallery .masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.masonry-item .project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #e7e5df;
}

.masonry-item .project-image img,
.masonry-item .project-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masonry-item:hover .project-image img {
    transform: scale(1.06);
}

.project-info {
    padding: 22px;
}

.project-info span {
    display: inline-block;
    margin-bottom: 9px;

    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-info h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.project-info p {
    margin: 0;
    font-size: 13px;
}


/* Video cards */

.video-card .project-image::after {
    position: absolute;
    content: "";
    inset: 0;

    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.project-play-button {
    position: absolute;
    z-index: 2;

    top: 50%;
    left: 50%;

    width: 58px;
    height: 58px;

    transform: translate(-50%, -50%);

    display: grid;
    place-items: center;

    border: 2px solid var(--white);
    border-radius: 50%;

    background: var(--gold);
    color: var(--white);

    font-size: 19px;
}

.project-play-button:hover {
    background: var(--dark);
}

.gallery-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
}

.gallery-empty[hidden] {
    display: none;
}

.gallery-load-more {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.gallery-load-more .btn {
    min-width: 180px;
}

.projects-cta {
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.projects-cta h2 {
    color: var(--white);
}


/* 18. PROJECT LIGHTBOX
===================================================== */

.media-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 35px;

    background: rgba(0, 0, 0, 0.94);
}

.media-lightbox.active {
    display: flex;
}

.lightbox-content {
    width: min(100%, 1000px);
    max-height: 80vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    display: grid;
    place-items: center;

    width: 45px;
    height: 45px;

    background: var(--gold);
    color: var(--white);

    font-size: 19px;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--white);
    color: var(--dark);
}

.lightbox-close {
    top: 25px;
    right: 30px;
}

.lightbox-prev {
    left: 25px;
    top: 50%;
}

.lightbox-next {
    right: 25px;
    top: 50%;
}

.lightbox-caption {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 20px;

    color: var(--white);
    text-align: center;
    font-size: 14px;
}


/* 19. CONTACT PAGE
===================================================== */

.contact-section {
    background: var(--off-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 45px;
    align-items: start;
}

.contact-info {
    padding: 35px;
    background: var(--dark);
    color: var(--white);
}

.contact-info h2 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 30px;
}

.contact-info > p {
    margin-bottom: 30px;
    color: #cccccc;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--gold);
    color: var(--white);

    font-size: 18px;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: var(--white);
    font-size: 15px;
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: #cccccc;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: var(--gold-light);
}


/* Contact form */

.contact-form {
    padding: 40px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin-bottom: 10px;
    font-size: 31px;
}

.contact-form > p {
    margin-bottom: 28px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 15px;

    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 0;

    color: var(--dark);
    font-size: 13px;

    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    background: var(--white);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.contact-form button {
    width: 100%;
}


/* Contact location */

.contact-location {
    padding: 85px 0;
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.location-content h2 {
    margin-bottom: 18px;
    font-size: 37px;
}

.location-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}


/* 20. SHARED FOOTER
===================================================== */

footer,
.site-footer {
    background: #181818;
    color: #cccccc;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 55px;

    padding: 75px 0 55px;
}

.footer-brand .logo {
    margin-bottom: 23px;
}

.footer-brand .logo-text strong {
    color: var(--white);
}

.footer-brand p {
    max-width: 350px;
    color: #aaaaaa;
    font-size: 13px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 23px;
    color: var(--white);
    font-size: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links a {
    color: #aaaaaa;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p,
.footer-contact a {
    color: #aaaaaa;
    font-size: 13px;
}

.footer-contact p {
    margin-bottom: 13px;
}

.footer-contact i {
    margin-right: 9px;
    color: var(--gold);
}

.footer-bottom {
    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: #888888;
    font-size: 12px;
    text-align: center;
}


/* 21. FLOATING WHATSAPP BUTTON
===================================================== */

.whatsapp-float,
.floating-whatsapp {
    position: fixed;
    z-index: 999;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #25d366;
    color: var(--white);

    font-size: 29px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);

    transition: var(--transition);
}

.whatsapp-float:hover,
.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    background: #1eae54;
}


/* 22. RESPONSIVE DESIGN
===================================================== */


/* SMALL LAPTOPS */

@media (max-width: 1100px) {

    .nav-links {
        gap: 20px;
    }

    .hero-grid {
        gap: 35px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        gap: 30px;
    }
}


/* TABLETS */

@media (max-width: 820px) {

    .section {
        padding: 75px 0;
    }

    /* Navigation */

    .nav-container {
        min-height: 75px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        display: none;

        padding: 15px 4% 25px;

        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: block;
    }

    .nav-links {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links a {
        display: block;
        padding: 14px 5px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-contact {
        display: none;
    }

    /* Homepage hero */

    .hero {
        padding: 65px 0;
    }

    .hero-grid,
    .intro-grid,
    .approach-layout,
    .location-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-visual {
        max-width: 600px;
        width: 100%;
        height: 430px;
        margin: 0 auto;
    }

    .hero-image-main {
        height: 370px;
    }

    .hero-image-small {
        height: 190px;
    }

    .intro-image img {
        height: 380px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .coverage-content {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Services */

    .service-card {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(even) .service-image {
        order: 0;
    }

    .service-card .service-image {
        height: 330px;
    }

    /* Contact */

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    /* Footer */

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* MOBILE PHONES */

@media (max-width: 560px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 90%;
    }

    .section {
        padding: 60px 0;
    }

    .nav-container {
        min-height: 70px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .logo-text strong {
        font-size: 12px;
    }

    /* Hero */

    .hero {
        padding: 45px 0;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 12px 16px;
        font-size: 11px;
    }

    .hero-visual {
        height: 340px;
    }

    .hero-image-main {
        width: 85%;
        height: 285px;
    }

    .hero-image-small {
        width: 43%;
        height: 145px;
        border-width: 5px;
    }

    .hero-image-caption {
        width: 78%;
        bottom: 45px;
        padding: 11px 12px;
        font-size: 10px;
    }

    .hero-image-caption span {
        font-size: 9px;
    }

    /* Introduction */

    .intro-image img {
        height: 300px;
    }

    .intro-content h2,
    .section-heading h2 {
        font-size: 31px;
    }

    /* Services */

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

    .service-image {
        height: 220px;
    }

    .service-content {
        padding: 28px;
    }

    .service-content h3 {
        font-size: 23px;
    }

    /* Slider */

    .slide {
        height: 340px;
    }

    .slide-caption {
        left: 20px;
        bottom: 25px;
        right: 15px;
    }

    .slide-caption h3 {
        font-size: 24px;
    }

    /* Benefits */

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

    /* Process */

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

    /* Coverage */

    .coverage-content h2 {
        font-size: 29px;
    }

    .coverage-card {
        width: 100%;
    }

    /* Inner pages */

    .page-hero {
        min-height: 270px;
        padding: 65px 0;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    /* Services page */

    .service-card .service-image {
        height: 250px;
    }

    .service-content {
        padding: 25px;
    }

    .approach-image img {
        height: 300px;
    }

    .approach-content h2 {
        font-size: 31px;
    }

    /* Projects gallery */

    .gallery-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-filters {
        width: 100%;
        gap: 8px;
    }

    .gallery-filter {
        padding: 9px 12px;
        font-size: 11px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .masonry-item .project-image {
        height: 260px;
    }

    .project-info {
        padding: 19px;
    }

    /* Lightbox */

    .media-lightbox {
        padding: 15px;
    }

    .lightbox-content img,
    .lightbox-content video {
        max-height: 65vh;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

    .lightbox-caption {
        bottom: 15px;
        font-size: 12px;
    }

    /* Contact */

    .contact-info,
    .contact-form {
        padding: 25px 20px;
    }

    .contact-form h2 {
        font-size: 27px;
    }

    .location-image img {
        height: 270px;
    }

    .location-content h2 {
        font-size: 30px;
    }

    /* CTA */

    .cta-content h2 {
        font-size: 31px;
    }

    /* Footer */

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 0 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        font-size: 11px;
    }

    /* WhatsApp */

    .whatsapp-float,
    .floating-whatsapp {
        width: 52px;
        height: 52px;
        right: 17px;
        bottom: 17px;
        font-size: 25px;
    }
}


/* VERY SMALL PHONES */

@media (max-width: 360px) {

    .hero-content h1 {
        font-size: 33px;
    }

    .logo-text strong {
        font-size: 10px;
    }

    .gallery-filter {
        padding: 8px 9px;
        font-size: 10px;
    }

    .btn {
        padding: 12px 18px;
    }
}


/* 23. ACCESSIBILITY AND MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   PROJECTS PAGE - MASONRY GALLERY
===================================================== */

.projects-hero {
    text-align: center;
}

.projects-hero .breadcrumb {
    justify-content: center;
}

.projects-intro {
    text-align: center;
}

.projects-intro .section-heading {
    max-width: 750px;
    margin: 0 auto;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 35px;
}

.gallery-heading h2 {
    margin-bottom: 0;
}

.gallery-heading p {
    max-width: 350px;
    color: #777;
}


/* FILTER BUTTONS */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.gallery-filter {
    border: 1px solid #ddd;
    background: transparent;
    color: #333;
    padding: 11px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: #c49a45;
    border-color: #c49a45;
    color: #fff;
}


/* MASONRY LAYOUT */

.masonry-gallery {
    columns: 3;
    column-gap: 22px;
}

.project-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 22px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}


/* IMAGE OVERLAY */

.project-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 35px 20px 20px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay span {
    display: block;
    color: #d9b66c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.project-overlay h3 {
    font-size: 18px;
    margin: 0;
}


/* FILTER ANIMATION */

.project-card.hidden {
    display: none;
}


/* PROJECTS CTA */

.projects-cta {
    background: #242424;
    color: #fff;
    text-align: center;
}

.projects-cta .cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.projects-cta .cta-content p {
    color: #ccc;
    margin: 18px 0 28px;
}


/* RESPONSIVE GALLERY */

@media (max-width: 900px) {

    .masonry-gallery {
        columns: 2;
    }

}

@media (max-width: 560px) {

    .gallery-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .masonry-gallery {
        columns: 2;
        column-gap: 12px;
    }

    .project-card {
        margin-bottom: 12px;
    }

    .gallery-filters {
        gap: 8px;
    }

    .gallery-filter {
        padding: 9px 13px;
        font-size: 11px;
    }

    .project-overlay {
        opacity: 1;
        padding: 25px 10px 12px;
    }

    .project-overlay h3 {
        font-size: 13px;
    }

    .project-overlay span {
        font-size: 9px;
    }

}
