/*
Theme Name: DFT Exteriors
Theme URI: https://www.dftexteriors.com
Description: Custom WordPress theme designed for DFT Exteriors Inc. Migrated from Wix. Replicating the elegant, high-end dark design, premium typography, and seamless exterior finishing branding.
Version: 1.0
Author: Antigravity
Author URI: https://gemini.google.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dft-exteriors
*/

/* ==========================================================================
   1. Design System & CSS Variables
   ========================================================================== */
:root {
    /* Branding Colors */
    --color-primary: #AD974F;      /* Premium Bronze Gold */
    --color-primary-hover: #C5B06E;/* Lighter gold for hover states */
    --color-dark: #000000;         /* Deepest black */
    --color-charcoal: #1C1C1C;     /* High-end charcoal */
    --color-slate: #2B2B2B;        /* Muted background darks */
    --color-light: #FFFFFF;        /* Pure white */
    --color-neutral-grey: #8F8F8F; /* Muted text and lines */
    --color-light-grey: #F5F5F5;   /* Light background utility */
    --color-border: rgba(173, 151, 79, 0.3); /* Muted gold border */

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Spacing & Layout */
    --max-width: 1200px;
    --header-height: 98px;          /* Taller for premium logo that contains “DFT EXTERIORS INC.” + line so nothing clips */
    --border-radius: 4px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   2. Reset & Core HTML Element Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-light);
    background-color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-light);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.3em; margin-bottom: 1em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   3. Navigation Header
   ========================================================================== */
.site-header {
    /* Semi-transparent glass header (reverted to better contrast version) */
    background-color: rgba(10, 10, 10, 0.42);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1002;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    /* allow logo tall artistic mark (including top gold strokes) to have space */
    padding: 8px 0;
}

.site-logo img {
    height: 78px;      /* tall & premium: fully shows "DFT EXTERIORS INC." + gold underline + upper decorative strokes without getting cut off */
    width: auto;
    max-height: calc(var(--header-height) - 12px);
    object-fit: contain;
    vertical-align: middle;
    display: block;
    /* allow any artistic top strokes on the transparent logo PNG to visibly sit within the glass header */
}

.main-navigation {
    margin: 0 40px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-navigation a {
    color: var(--color-light);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.main-navigation a:hover {
    color: var(--color-primary);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

/* Dropdown sub-menus (e.g. Gallery → Residential / Commercial) */
.main-navigation li {
    position: relative;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-charcoal);
    border: 1px solid var(--color-border);
    min-width: 180px;
    padding: 8px 0;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    list-style: none;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    margin: 0;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--color-light);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.main-navigation .sub-menu a:hover {
    background-color: rgba(173, 151, 79, 0.12);
    color: var(--color-primary);
}

.main-navigation .sub-menu a::after {
    display: none; /* no underline animation inside dropdown */
}

/* Mobile: submenus render as indented list (no absolute dropdown) */
@media (max-width: 1024px) {
    .main-navigation .sub-menu {
        position: static;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
    }

    .main-navigation .sub-menu a {
        padding: 6px 0;
        font-size: 0.9rem;
    }
}

/* Header CTAs */
.header-ctas {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.cta-icon-link:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.cta-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   4. Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-charcoal);
    color: var(--color-neutral-grey);
    border-top: 2px solid var(--color-primary);
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--color-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--color-neutral-grey);
}

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

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
}

/* ==========================================================================
   5. Page Layouts & Gutenberg Content Styles
   ========================================================================== */
.page-header {
    background-color: var(--color-charcoal);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
    color: var(--color-light);
}

.main-content {
    padding-bottom: 80px;
}

/* Rich Content Style Formatting matching Wix */
.entry-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2, .entry-content h3 {
    margin-top: 1.8em;
}

/* ==========================================================================
   5b. Page-level Photo Heroes (used when Featured Image is assigned)
   ========================================================================== */
.page-hero {
	position: relative;
	height: calc(30vh + var(--header-height));
	min-height: 220px;
	margin-top: calc(-1 * var(--header-height));
	padding-top: var(--header-height);
	margin-bottom: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	/* negative margin + padding pulls the photo background up underneath the sticky semi-transparent glass header (same technique as the home hero) */
}

.page-hero .hero-slides,
.page-hero .hero-slide,
.page-hero .hero-overlay {
	/* deliberately reuse the same structural classes as the home hero */
}

.page-hero .hero-slide {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

.page-hero .hero-slide.active {
	opacity: 1;
}

.page-hero .hero-overlay {
	background: radial-gradient(circle, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.78) 100%);
}

.page-hero-content {
	position: relative;
	z-index: 3;
	max-width: 780px;
	padding: 0 20px;
}

.page-hero-title {
	font-size: 1.95rem;
	line-height: 1.15;
	margin-bottom: 0;
	font-family: var(--font-heading);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

/* More compact on smaller viewports */
@media (max-width: 992px) {
	.page-hero {
		height: calc(26vh + var(--header-height));
		min-height: 190px;
		margin-bottom: 24px;
	}
	.page-hero-title {
		font-size: 1.75rem;
	}
}

@media (max-width: 768px) {
	.page-hero {
		height: calc(24vh + var(--header-height));
		min-height: 160px;
	}
	.page-hero-title {
		font-size: 1.55rem;
	}
}

/* ==========================================================================
   6. Home Page Hero & Grids
   ========================================================================== */
.hero-section {
    position: relative;
    height: calc(90vh + var(--header-height));
    min-height: 550px;
    margin-top: calc(-1 * var(--header-height));
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark);
    text-align: center;
    overflow: visible;

    /* Pull hero container up (negative margin) so background images & overlay extend behind the sticky glass header.
       Paddding + taller height preserve layout & keep hero content centered at same viewport position. */
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173, 151, 79, 0.4);
}

/* Feature grid */
.featured-grid {
    padding: 80px 0;
    background-color: var(--color-dark);
}

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

.grid-card {
    background-color: var(--color-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 35px;
    text-align: center;
    transition: var(--transition-smooth);
}

.grid-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-light);
}

.card-description {
    color: var(--color-neutral-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================================================
   7. Responsive Styles
   ========================================================================= */
@media (min-width: 1025px) and (max-width: 1200px) {
    .main-navigation {
        margin: 0 20px;
    }
    .main-navigation ul {
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-charcoal);
        border-bottom: 1px solid var(--color-border);
        padding: 20px;
        z-index: 999;
        margin: 0;
    }
    .main-navigation.is-active {
        display: block;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .mobile-nav-toggle {
        display: block;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
    .grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .grid-3col {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 2.25rem; }
    .page-header h1 { font-size: 2.5rem; }
}

/* ==========================================================================
   Contact Team Member Grid (photos now included)
   ========================================================================== */
/* ==========================================================================
   Contact Team Member Grid — Uniform Professional 3-Card Layout
   ========================================================================== */
.team-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin: 1.5rem 0 2.5rem;
}

@media (min-width: 600px) {
	.team-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}

.team-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0.75rem 0.5rem 1rem;
	transition: var(--transition-smooth);
}

.team-member:hover {
	transform: translateY(-3px);
}

.member-photo-col {
	position: relative;
	width: 100%;
	max-width: 190px;
}

.member-headshot {
	width: 100%;
	height: 185px;
	object-fit: cover;
	display: block;
	border: 1px solid var(--color-border, #333);
	filter: grayscale(8%) contrast(1.05) brightness(0.97);
	border-radius: 2px;
}

.team-member:hover .member-headshot {
	filter: grayscale(0%) contrast(1.02) brightness(1);
	box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

/* Professional compact hover QR (top-right, elegant reveal) */
.member-photo-col .qr-tooltip {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 86px;
	height: 86px;
	z-index: 50;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.7);
	transition: opacity 160ms ease, transform 160ms cubic-bezier(0.2,0,0,1);
	pointer-events: none;
}

.member-photo-col:hover .qr-tooltip {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.qr-tooltip img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border: 2px solid #f2f2f2;
}

.qr-tooltip .qr-label {
	display: none; /* clean small QR; label is now optional aria */
}

.member-info {
	margin-top: 0.85rem;
}

.member-info h3 {
	margin: 0 0 0.15rem;
	font-size: 0.78rem;
	color: var(--color-primary, #AD974F);
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.member-info .member-name {
	font-size: 1.05rem;
	margin: 0 0 0.15rem;
	font-weight: 500;
	color: var(--color-light);
	letter-spacing: 0.3px;
}

.member-info .contact-line {
	margin: 0.1rem 0;
	font-size: 0.92rem;
	line-height: 1.35;
	color: #ddd;
}

.member-info .contact-line a {
	color: inherit;
	text-decoration: none;
}

.member-info .contact-line a:hover {
	color: var(--color-primary);
}

/* ==========================================================================
   About Page: Video, Values Section (matching original Wix design language)
   ========================================================================== */
.about-video {
	margin: 2rem 0 2.5rem;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	border: 1px solid var(--color-border);
}

.about-video video {
	display: block;
	width: 100%;
	height: auto;
}

/* ==========================================================================
   Values Section — Matches the dark, elegant treatment of the Meet The Team block
   Thin gold lines, clean left-aligned list, cohesive with the centered team section above.
   ========================================================================== */
.values-section {
	margin: 2.5rem 0 2rem;
	padding: 0 0 1.5rem;
	background-color: transparent; /* blends with the dark page background */
}

.values-heading {
	font-family: var(--font-heading);
	font-size: 1.9rem;
	font-weight: 600;
	color: var(--color-primary);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0 0 0.6rem 0;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid rgba(173, 151, 79, 0.35);
	text-align: left;
}

.values-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #c8c8c8;
}

.value-item {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.value-name {
	font-weight: 600;
	color: #f0e9d2;
	letter-spacing: 0.02em;
	flex-shrink: 0;
}

.value-sep {
	color: var(--color-primary);
	font-weight: 400;
	opacity: 0.65;
}

.value-desc {
	color: #b8b8b8;
}

/* Subtle hover for polish */
.value-item:hover .value-name {
	color: var(--color-primary);
}

@media (max-width: 640px) {
	.values-heading {
		font-size: 1.65rem;
	}
	.values-list {
		gap: 0.7rem;
		font-size: 1rem;
	}
}

/* Hide default page title bar on About so the video leads the page (matching original) */
.page-id-5 .page-header {
	display: none;
}

/* ==========================================================================
   Services Page – Scroll-Activated Background Switcher Effect
   Replicates the original site’s signature full-bleed photo per section
   with a right-side dark content panel. Backgrounds cross-fade on scroll.
   ========================================================================== */

.services-page {
	/* Ensure no extra spacing interferes with 100vh sections */
	padding: 0;
	margin: 0;
}

/* Fixed background layer container (behind everything except header) */
.services-bg-layers {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}

.services-bg-layer {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.65s cubic-bezier(0.23, 1.0, 0.32, 1);
	will-change: opacity;
}

.services-bg-layer.active {
	opacity: 1;
}

/* Each full-viewport service section */
.service-section {
	position: relative;
	min-height: 100vh;
	z-index: 1;
}

/* Right-side dark content panel (the text lives here, image shows on left) */
.service-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 46%;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.15rem;
	padding: 120px 4.5% 60px 4%;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.0) 0%,
		rgba(28, 28, 28, 0.55) 12%,
		rgba(28, 28, 28, 0.82) 28%,
		rgba(28, 28, 28, 0.92) 100%
	);
	z-index: 2;
}

/* Extra safety for the very first section under the sticky header */
.service-section:first-of-type .service-content {
	padding-top: max(120px, var(--header-height) + 30px);
}

.service-content h2 {
	font-size: 2.65rem;
	color: var(--color-primary);
	margin: 0;
	letter-spacing: 0.03em;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.service-content p {
	font-size: 1.02rem;
	color: rgba(245, 245, 245, 0.92);
	line-height: 1.6;
	margin: 0;
	max-width: 38ch;
}

/* Dark "View Gallery" button that sits on the dark panel */
.view-gallery-btn {
	display: inline-block;
	padding: 10px 22px;
	background-color: rgba(0, 0, 0, 0.55);
	color: var(--color-primary);
	border: 1px solid var(--color-primary);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 3px;
	transition: all 0.2s ease;
	align-self: flex-start;
}

.view-gallery-btn:hover {
	background-color: var(--color-primary);
	color: var(--color-dark);
	border-color: var(--color-primary);
	transform: translateY(-1px);
}

/* Final CTA section after the three tall panels */
.services-cta {
	background-color: var(--color-charcoal);
	padding: 70px 0 80px;
	text-align: center;
	border-top: 1px solid var(--color-border);
	position: relative;
	z-index: 3;
}

.services-cta p {
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1.25rem;
	font-size: 1.1rem;
}

/* Responsive: collapse the split on smaller screens so image remains visible */
@media (max-width: 900px) {
	.service-content {
		width: 52%;
		padding: 100px 3.5% 50px 3.5%;
	}
}

@media (max-width: 768px) {
	.service-section {
		min-height: 88vh;
	}

	.service-content {
		position: relative;
		width: 100%;
		top: auto;
		right: auto;
		bottom: auto;
		height: auto;
		min-height: 0;
		display: block;
		padding: 90px 1.5rem 2.25rem;
		background: linear-gradient(
			to bottom,
			rgba(0, 0, 0, 0.22) 0%,
			rgba(28, 28, 28, 0.92) 22%
		);
	}

	.service-content h2 {
		font-size: 2.15rem;
	}

	.service-content p {
		font-size: 0.98rem;
		max-width: none;
	}

	.view-gallery-btn {
		font-size: 0.8rem;
		padding: 9px 18px;
	}
}

@media (max-width: 480px) {
	.service-section {
		min-height: 82vh;
	}

	.service-content {
		padding: 70px 1.25rem 1.75rem;
	}
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.product-card {
	    border: 1px solid #ddd;
	    display: flex;
	    flex-direction: column;
	    text-decoration: none;
	    color: inherit;
	}

.product-card:hover {
	    border-color: var(--color-primary);
	    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

.card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.product-card h3 {
	margin-top: 0;
}
