/* ==========================================================================
Dang's Automotive & Marine - Dual Auto + Marine Theme Stylesheet
========================================================================== */
:root {
--color-yellow: #ffd200;
--color-yellow-hover: #ffe033;
--color-yellow-glow: rgba(255, 210, 0, 0.35);
--color-marine-blue: #0ea5e9;
--color-white: #ffffff;
--color-text-dim: #b0b8c4;
--color-card-bg: rgba(20, 23, 28, 0.90);
--color-card-border: #3e444d;
--color-card-border-highlight: #5b6370;
--color-metal-tab: #2a2f38;
--color-metal-tab-active: rgba(20, 23, 28, 0.95);
--font-display: 'Oswald', 'Impact', 'Arial Black', sans-serif;
--font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* Reset & Box Sizing */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-body);
background-color: #121316;
color: var(--color-white);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 28px 16px;
position: relative;
overflow-x: hidden;
}
/* Dual Background: Semi-Diagonal Split (Diamond Plate Top-Left, Boat Deck Bottom-Right) */
.site-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('gfx/split_background.jpg');
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
z-index: -2;
filter: contrast(105%) brightness(92%);
transition: background-image 0.3s ease;
}
/* Subtle Vignette Overlay to Enhance Contrast & Text Readability */
.vignette-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at center, rgba(10, 12, 16, 0.32) 0%, rgba(5, 6, 8, 0.78) 100%);
z-index: -1;
pointer-events: none;
}
/* Page Layout Container */
.page-container {
width: 100%;
max-width: 960px;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
z-index: 1;
}
/* Tab Navigation */
.tabs-nav {
display: flex;
gap: 6px;
width: 100%;
max-width: 900px;
margin-bottom: -2px; /* Connect cleanly to the card border */
z-index: 2;
padding-left: 18px;
}
.tab-btn {
background: linear-gradient(180deg, #383e4a 0%, #20242b 100%);
color: #adb5bd;
font-family: var(--font-display);
font-size: 1.25rem;
letter-spacing: 1.5px;
font-weight: 700;
padding: 12px 28px;
border: 2px solid var(--color-card-border);
border-bottom: none;
border-radius: 8px 8px 0 0;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
text-transform: uppercase;
text-decoration: none;
transition: all 0.2s ease-in-out;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 -2px 6px rgba(0, 0, 0, 0.5);
position: relative;
}
.tab-btn:hover {
color: var(--color-yellow);
background: linear-gradient(180deg, #444c5a 0%, #292e38 100%);
}
.tab-btn.active {
background: var(--color-card-bg);
color: var(--color-yellow);
border-color: var(--color-card-border-highlight);
border-top: 3px solid var(--color-yellow);
box-shadow: 0 -4px 12px var(--color-yellow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
z-index: 3;
}
.tab-icon {
font-size: 1.15rem;
}
/* Main Industrial & Marine Card Panel */
.card-panel {
position: relative;
width: 100%;
background: var(--color-card-bg);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 2px solid var(--color-card-border);
border-radius: 8px;
padding: 42px 32px 36px;
box-shadow: 0 14px 44px rgba(0, 0, 0, 0.85),
inset 0 1px 1px rgba(255, 255, 255, 0.12),
inset 0 -1px 1px rgba(0, 0, 0, 0.6);
text-align: center;
}
/* Decorative Industrial Rivets */
.rivet {
position: absolute;
width: 16px;
height: 16px;
border-radius: 50%;
background: radial-gradient(circle at 35% 35%, #ffffff 0%, #a8b0b8 35%, #4a5058 75%, #22252a 100%);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.8);
pointer-events: none;
}
/* Rivet Philips Screw Head Notch */
.rivet::after {
content: '+';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 11px;
font-family: monospace;
font-weight: 900;
color: rgba(30, 32, 38, 0.85);
line-height: 1;
}
.rivet-tl { top: 12px; left: 12px; }
.rivet-tr { top: 12px; right: 12px; }
.rivet-bl { bottom: 12px; left: 12px; }
.rivet-br { bottom: 12px; right: 12px; }
/* Tab Content Panels */
.tab-content {
display: none;
animation: fadeIn 0.25s ease-in-out forwards;
}
.tab-content.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
/* Dual Service Badge Banner (Auto & Marine) */
.service-badges {
display: flex;
justify-content: center;
gap: 16px;
margin-bottom: 20px;
}
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
font-family: var(--font-display);
font-size: 0.9rem;
letter-spacing: 1.2px;
text-transform: uppercase;
padding: 4px 14px;
border-radius: 20px;
background: rgba(0, 0, 0, 0.5);
border: 1px solid #4a525d;
color: #cfd6df;
}
.badge-auto {
border-color: #64748b;
color: #e2e8f0;
}
.badge-marine {
border-color: #0284c7;
color: #38bdf8;
}
/* Hero / Featured Image */
.hero-image-wrapper {
margin: 0 auto 24px;
max-width: 380px;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
border: 2px solid #4a525d;
background-color: #1a1d22;
transition: transform 0.2s ease, border-color 0.2s ease;
}
.hero-image-wrapper:hover {
border-color: var(--color-yellow);
transform: scale(1.015);
}
.hero-image {
width: 100%;
height: auto;
display: block;
object-fit: cover;
aspect-ratio: 4 / 3;
}
/* Brand Title */
.brand-title {
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, 3.4rem);
font-weight: 700;
color: var(--color-yellow);
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 12px;
line-height: 1.1;
text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9), 0 0 16px var(--color-yellow-glow);
}
/* Technician Credentials */
.technician-info {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
font-family: var(--font-display);
font-size: clamp(1.3rem, 3.5vw, 1.85rem);
letter-spacing: 1.5px;
text-transform: uppercase;
margin-bottom: 8px;
}
.tech-name {
color: var(--color-yellow);
font-weight: 700;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.tech-separator {
color: var(--color-card-border-highlight);
font-size: 1.2rem;
}
.tech-role {
color: var(--color-white);
font-weight: 500;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
/* Service Scope Subtitle */
.services-summary {
font-size: 0.95rem;
color: var(--color-text-dim);
letter-spacing: 0.5px;
margin-bottom: 22px;
}
/* Call to Action Banner */
.cta-banner {
font-family: var(--font-display);
font-size: clamp(1.2rem, 3.2vw, 1.65rem);
font-weight: 600;
color: var(--color-yellow);
letter-spacing: 1.2px;
text-transform: uppercase;
margin-bottom: 28px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
/* Action Buttons */
.action-buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 14px;
margin-bottom: 28px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-family: var(--font-display);
font-size: 1.15rem;
letter-spacing: 1px;
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
padding: 12px 24px;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid transparent;
}
.btn-primary {
background: linear-gradient(180deg, var(--color-yellow-hover) 0%, var(--color-yellow) 100%);
color: #121316;
border-color: #d4ac00;
box-shadow: 0 4px 12px rgba(255, 210, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover {
background: linear-gradient(180deg, #fff066 0%, var(--color-yellow-hover) 100%);
box-shadow: 0 6px 18px rgba(255, 210, 0, 0.5);
transform: translateY(-1px);
}
.btn-secondary {
background: linear-gradient(180deg, #3d434d 0%, #272b32 100%);
color: var(--color-white);
border-color: #4f5763;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
background: linear-gradient(180deg, #4d5461 0%, #31363f 100%);
color: var(--color-yellow);
border-color: var(--color-yellow);
transform: translateY(-1px);
}
.btn-outline {
background: transparent;
color: var(--color-yellow);
border: 2px solid var(--color-yellow);
}
.btn-outline:hover {
background: rgba(255, 210, 0, 0.12);
transform: translateY(-1px);
}
.btn-block {
width: 100%;
}
/* Controls / Selectors Container */
.panel-controls {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 16px;
margin-top: 10px;
}
.control-group {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(0, 0, 0, 0.5);
border: 1px solid #363c46;
border-radius: 20px;
padding: 5px 12px;
font-size: 0.8rem;
color: var(--color-text-dim);
}
.control-label {
font-weight: 500;
margin-right: 4px;
}
.btn-chip {
background: transparent;
border: 1px solid #4a525d;
color: #adb5bd;
font-size: 0.78rem;
font-weight: 600;
padding: 3px 9px;
border-radius: 12px;
cursor: pointer;
transition: all 0.15s ease;
}
.btn-chip:hover {
color: var(--color-white);
border-color: #717d8d;
}
.btn-chip.active {
background: var(--color-yellow);
color: #121316;
border-color: var(--color-yellow);
}
/* Contact Tab Styles */
.section-title {
font-family: var(--font-display);
font-size: clamp(1.8rem, 4vw, 2.6rem);
font-weight: 700;
color: var(--color-yellow);
letter-spacing: 1.5px;
text-transform: uppercase;
margin-bottom: 8px;
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.section-subtitle {
color: var(--color-text-dim);
font-size: 1.05rem;
margin-bottom: 30px;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
text-align: left;
}
.contact-card {
background: rgba(14, 16, 20, 0.85);
border: 1px solid #363c46;
border-radius: 6px;
padding: 24px;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
.contact-card h3 {
font-family: var(--font-display);
font-size: 1.4rem;
color: var(--color-yellow);
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 18px;
border-bottom: 1px solid #323842;
padding-bottom: 8px;
}
.contact-item {
display: flex;
flex-direction: column;
margin-bottom: 14px;
}
.contact-item .label {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(--color-text-dim);
margin-bottom: 2px;
}
.contact-item .val {
font-size: 1.1rem;
color: var(--color-white);
font-weight: 500;
}
.contact-item .val.highlight {
color: var(--color-yellow);
font-weight: 700;
}
.contact-item a {
color: var(--color-yellow);
text-decoration: none;
transition: color 0.15s ease;
}
.contact-item a:hover {
color: var(--color-yellow-hover);
text-decoration: underline;
}
.services-list {
list-style: none;
padding: 0;
margin: 10px 0 18px;
display: flex;
flex-direction: column;
gap: 8px;
font-size: 0.95rem;
color: #cfd6df;
}
.services-list li {
display: flex;
align-items: center;
gap: 8px;
}
.contact-quick-links {
margin-top: 22px;
display: flex;
flex-direction: column;
gap: 10px;
}
/* Contact Form Elements */
.contact-form {
display: flex;
flex-direction: column;
gap: 14px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.form-group label {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--color-text-dim);
}
.form-group input,
.form-group select,
.form-group textarea {
background: #181b20;
border: 1px solid #3d4450;
border-radius: 4px;
padding: 10px 12px;
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--color-white);
outline: none;
transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: var(--color-yellow);
box-shadow: 0 0 6px var(--color-yellow-glow);
}
/* Page Footer */
.page-footer {
margin-top: 24px;
text-align: center;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.5);
letter-spacing: 0.5px;
}
/* Responsive Breakpoints */
@media (max-width: 768px) {
body {
padding: 16px 10px;
}
.tabs-nav {
padding-left: 8px;
}
.tab-btn {
font-size: 1.05rem;
padding: 10px 18px;
}
.card-panel {
padding: 32px 18px 24px;
}
.contact-grid {
grid-template-columns: 1fr;
gap: 18px;
}
.action-buttons {
flex-direction: column;
width: 100%;
}
.btn {
width: 100%;
}
.panel-controls {
flex-direction: column;
gap: 10px;
}
}