/* Theme Name: Hampton Theme URI: http://example.com/hampton Author: Your Name Author URI: http://example.com Description: A modern Elementor-compatible WordPress theme with custom header, global header options, top panel, and responsive utilities. Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: hampton */ /* --- MERGED: assets/css/style.css --- */ /* ========================================================================== Hampton Theme Base Styles ========================================================================== */ /* Reset adjustments (complementing modern reset in utilities.css) */ html, body { margin: 0; padding: 0; font-family: var(--body-font, 'Poppins', Arial, sans-serif); font-size: var(--body-font-size, 16px); line-height: 1.5; color: var(--body-color, #333); background: var(--body-bg, #fff); } /* Links */ a { color: var(--primary-color, #D2B589); text-decoration: none; transition: color .2s ease; } a:hover, a:focus { color: var(--primary-color-hover, #e25500); } /* Headings */ h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; font-weight: 600; line-height: 1.2; color: var(--heading-color, #111); } /* Containers */ .container { width: 100%; max-width: 1340px; margin: 0 auto; } /* Rectangle 4 */ #content{ min-height:100vh; } /* ========================================================================== Top Panel ========================================================================== */ .top-panel { background-color: var(--top-panel-bg, #1c1c1c); color: var(--top-panel-color, #fff); height: 45px; display:flex; align-items: center } .top-panel p { margin:0; } /* ========================================================================== Page Header ========================================================================== */ :root { --header-panel-height: 40px; } .page-header { position: relative; height: var(--header-height-desktop, 400px); display: flex; flex-direction: column; justify-content: flex-end; text-align: center; color: #fff; overflow: hidden; } .page-header .header-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; } .page-header .header-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; } .page-header .header-overlay { position: absolute; inset: 0; background-color: var(--header-overlay-color, rgba(0,0,0,0.65)); z-index: 2; } /* ========================================================================== Header Panel (overlaying Page Header) ========================================================================== */ .header-panel { position: absolute; top: 35px; left: 0; right: 0; height: var(--header-panel-height, 40px); z-index: 10; background: var(--header-panel-bg, transparent); /* transparent overlay */ } .header-panel .container { display: flex; align-items: center; justify-content: space-between; height: 100%; } .header-left-icon { flex: 0 0 auto; text-align: left; } .header-logo { flex: 1 1 auto; text-align: center; } .header-logo img { max-height: 40px; transition: max-height 0.2s ease; } .header-hamburger { flex: 0 0 auto; text-align: right; } .header-left-icon a, .header-hamburger a { font-size: 1.8rem; color: #fff; display: inline-block; line-height: 1; padding: 0 5px; transition: opacity 0.2s ease; } .header-left-icon a:hover, .header-hamburger a:hover { opacity: 0.8; } /* ========================================================================== Mobile Tweaks for Header Panel ========================================================================== */ @media (max-width: 767px) { .header-logo img { max-height: 40px; /* smaller logo on mobile */ } .header-left-icon a, .header-hamburger a { font-size: 2rem; /* large enough for tap */ padding: 0 8px; } } /* ========================================================================== Page Header Content ========================================================================== */ .page-header .header-content { position: relative; z-index: 3; max-width: 800px; margin: 0 auto 2rem; padding: 0 15px; text-align: center; } .page-header h1.page-title { font-size: 2.5rem; margin: 0.5em 0; } .page-header p.page-subtitle { font-size: 1.2rem; margin: 0; opacity: 0.9; } /* Breadcrumb */ .page-header .breadcrumb { font-size: 0.9rem; margin-bottom: 0.5rem; color: #f0f0f0; } .page-header .breadcrumb a { color: #fff; text-decoration: none; } .page-header .breadcrumb a:hover { text-decoration: underline; } /* ========================================================================== Header Left Box & Mobile Menu ========================================================================== */ .header-left-box, .header-mobile-menu { display: none; position: fixed; top: 0; bottom: 0; background: #fff; z-index: 9999; overflow-y: auto; box-shadow: 0 0 15px rgba(0,0,0,0.2); } .header-left-box { left: 0; width: 300px; } .header-left-box .header-left-box-inner { padding: 1rem; } .header-left-box .close-left-box { position: absolute; top: 10px; right: 15px; font-size: 1.5rem; cursor: pointer; color: #111; } .header-mobile-menu { right: 0; width: 260px; padding: 1rem; } .header-mobile-menu .mobile-menu { list-style: none; padding: 0; margin: 0; } .header-mobile-menu .mobile-menu li { margin: 0.5rem 0; } .header-mobile-menu .mobile-menu a { display: block; padding: 0.5rem 0; font-weight: 500; color: #111; } .header-mobile-menu .mobile-menu a:hover { color: var(--primary-color, #ff6600); } /* ========================================================================== Responsive Heights ========================================================================== */ @media (max-width: 991px) { .page-header { height: var(--header-height-tablet, 350px); } } @media (max-width: 767px) { .page-header { height: var(--header-height-mobile, 300px); } } /* ========================================================================== Footer ========================================================================== */ footer { background: #111; color: #fff; padding: 20px 0; text-align: center; font-size: 14px; } .header-logo { flex: none; } /* --- Added: page header styles (subtitle, breadcrumb) --- */ .hampton-page-header{padding:2rem 0;text-align:left;} .hampton-page-title{margin:0;font-size:2rem;} .hampton-page-subtitle{margin-top:.5rem;color:#666;font-size:1.05rem;} .hampton-breadcrumb{font-size:0.9rem;margin-bottom:.5rem;} .hampton-breadcrumb-nav a{ text-decoration:none; } .container{max-width:1340px;margin:0 auto;padding:0 10px;} .container.fullwidth{ max-width:100%; padding:0; } .elementor .elementor-background-video-container video{ max-width:calc(100% + 1px); width:calc(100% + 1px) !important; } .hmStyle1{background: linear-gradient(180deg, rgba(28, 28, 28, 0.2) 0%, rgba(28, 28, 28, 0.6) 22.6%, #1C1C1C 50.96%, rgba(28, 28, 28, 0.6) 76.44%, rgba(28, 28, 28, 0) 100%);} .hmStyle2:before{background: linear-gradient(180deg, rgba(28, 28, 28, 0.2) 0%, rgba(28, 28, 28, 0.6) 22.6%, #1C1C1C 50.96%, rgba(28, 28, 28, 0.6) 76.44%, rgba(28, 28, 28, 0) 100%);} /* --- utilities.css merged from assets/css/utilities.css --- */ /* ========================================================================== Modern CSS Reset ========================================================================== */ *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; } body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; line-height: 1.5; } img, picture, video, canvas, svg { display: block; max-width: 100%; } input, button, textarea, select { font: inherit; } a { text-decoration: none; color: inherit; } /* Remove default list styles */ ul, ol { margin: 0; padding: 0; list-style: none; } /* ========================================================================== Grid System ========================================================================== */ .container { width: 90%; max-width: 1200px; margin: 0 auto; } .row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; } .col { flex: 1 0 0%; padding: 0 15px; } .col-6 { flex: 0 0 50%; max-width: 50%; } .col-4 { flex: 0 0 33.333%; max-width: 33.333%; } .col-3 { flex: 0 0 25%; max-width: 25%; } .col-12 { flex: 0 0 100%; max-width: 100%; } /* ========================================================================== Utility Classes ========================================================================== */ /* Spacing */ .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .pt-1 { padding-top: .5rem; } .pt-2 { padding-top: 1rem; } .pt-3 { padding-top: 1.5rem; } .pb-1 { padding-bottom: .5rem; } .pb-2 { padding-bottom: 1rem; } .pb-3 { padding-bottom: 1.5rem; } /* Text Alignment */ .text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; } /* Display */ .d-block { display: block; } .d-inline { display: inline; } .d-flex { display: flex; } /* Flex Utilities */ .flex-center { display: flex; align-items: center; justify-content: center; } .flex-between { display: flex; justify-content: space-between; } .flex-column { display: flex; flex-direction: column; } /* --- end utilities.css --- */ .portfolio-grid, .team-grid, .career-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .portfolio-item, .team-member, .career-item { background: #fff; border-radius: 0.75rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow: hidden; transition: transform 0.2s ease; } .portfolio-item:hover, .team-member:hover, .career-item:hover { transform: translateY(-4px); } .portfolio-item img, .team-member img { width: 100%; height: auto; display: block; } .portfolio-item h2, .team-member h2, .career-item h2 { font-size: 1.25rem; margin: 1rem; } .portfolio-item .excerpt, .team-member .excerpt, .career-item .excerpt { margin: 0 1rem 1rem; color: #666; } .single-hero { margin-bottom: 1.5rem; } /* --- end CPT Grid Layouts --- */