@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
    --bg-color: #1c1106;
    --accent-color: #ff9f1c;
    --accent-light: #ffc68b;
    --surface-low: #24190d;
    --surface-high: #3f3224;
    --text-primary: #ffffff; /* Increased from #f5dfca for better visibility */
    --text-muted: #e0d0c0; /* Increased from #dac2ae */
    --outline: #6a5a4a; /* Slightly brighter for better definition */
    --border-radius-lg: 30px; /* Increased for rounded look */
    --border-radius-md: 15px;
    --spacing-unit: 1rem;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

ul, li, span, div {
    color: inherit;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Typography Helpers */
.text-accent { color: var(--accent-color); }
.bg-accent { background-color: var(--accent-color); }

p {
    color: var(--text-primary);
}

.text-muted {
    color: var(--text-muted) !important;
}
.glass-panel {
    background: rgba(63, 50, 36, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 159, 28, 0.15);
    border-radius: 4px;
}

/* Process Section Enhancement: Kinetic Timeline */
.process-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, #24190d 0%, #1c1106 100%);
    position: relative;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: rgba(63, 50, 36, 0.2);
    border: 1px solid var(--outline);
    border-radius: 8px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.process-step:hover {
    border-color: var(--accent-color);
    background: rgba(63, 50, 36, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 159, 28, 0.1);
}

/* Wavy Service Ticker Design */
.hero-ticker-container {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    z-index: 10;
}

.wavy-ticker {
    background: var(--accent-color);
    padding: 2.5rem 0;
    clip-path: polygon(0 20%, 5% 18%, 10% 15%, 15% 13%, 20% 12%, 25% 13%, 30% 15%, 35% 18%, 40% 20%, 45% 22%, 50% 23%, 55% 22%, 60% 20%, 65% 18%, 70% 15%, 75% 13%, 80% 12%, 85% 13%, 90% 15%, 95% 18%, 100% 20%, 100% 80%, 95% 82%, 90% 85%, 85% 87%, 80% 88%, 75% 87%, 70% 85%, 65% 82%, 60% 80%, 55% 78%, 50% 77%, 45% 78%, 40% 80%, 35% 82%, 30% 85%, 25% 87%, 20% 88%, 15% 87%, 10% 85%, 5% 82%, 0 80%);
    color: var(--bg-color);
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255, 159, 28, 0.4);
}

.ticker-wave-animation {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
    padding-left: 100%;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.detail-image, .img-fluid, .usp-item, .contact-info-card, .glass-panel {
    border-radius: var(--border-radius-lg) !important;
}

.process-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 159, 28, 0.1);
    position: absolute;
    top: -10px;
    right: 20px;
    line-height: 1;
    transition: var(--transition-smooth);
}

.process-step:hover .process-number {
    color: rgba(255, 159, 28, 0.3);
}

.process-connector {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 1;
    opacity: 0.3;
}

.process-icon-box {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--bg-color);
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 159, 28, 0.4);
}

/* Navbar Style #15 - Holographic Scanline Top Bar */
.navbar {
    position: absolute; /* Changed from fixed to remove sticky functionality */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(28, 17, 6, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.75rem 2rem;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

/* Scanline Animation */
.navbar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(255, 159, 28, 0.05) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 1;
}

.navbar.scrolled {
    padding: 0.5rem 2rem;
    background: rgba(28, 17, 6, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    max-height: 65px; /* Decreased from 100px */
    transform: scale(1.1); /* Subtle zoom */
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 15px rgba(255, 159, 28, 0.4));
    border-radius: 4px;
}

.navbar-brand:hover img {
    transform: scale(1.25);
    filter: drop-shadow(0 0 25px rgba(255, 159, 28, 0.6));
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

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

.btn-cta {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    color: #1c1106;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: none;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 159, 28, 0.3);
    color: #1c1106;
}

.btn-small-footer {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: auto;
    display: inline-block;
    border-radius: var(--border-radius-md);
}

/* Hero Section #16 - Spotlight / Left Text / Right Image */
.hero {
    min-height: 100vh;
    padding: 180px 0 100px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    mask-image: linear-gradient(to left, black 60%, transparent);
    z-index: -1;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* About Section #2 - Text Left / USP Right */
.about-section {
    padding: 100px 0;
    background-color: var(--surface-low);
}

.usp-list {
    list-style: none;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition-smooth);
}

.usp-item:hover {
    transform: translateX(10px);
}

.usp-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Services Grid #1 - 3D Tilt Perspective Cards */
.services-section {
    padding: 100px 0;
}

.service-card {
    background: var(--surface-low);
    border: 1px solid var(--outline);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,159,28,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Detailed Service Sections: Advanced Rotations */
.detail-section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.bg-text-parallax {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(255, 159, 28, 0.03);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
}

/* Style #9: Bento Grid Detail */
.bento-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.bento-item {
    background: var(--surface-low);
    border: 1px solid var(--outline);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-main {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(rgba(28, 17, 6, 0.7), rgba(28, 17, 6, 0.7)), url('../img/spring-repair.jpg') center/cover;
    min-height: 400px;
    border: 2px solid var(--accent-color);
}

.bento-stat {
    text-align: center;
    background: rgba(255, 159, 28, 0.1);
    border-color: var(--accent-color);
}

.bento-stat h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0;
}

/* Style #1: Asymmetric Split-Scrub */
.split-scrub-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.scrub-sticky {
    position: sticky;
    top: 50px;
    width: 40%;
}

.scrub-content {
    width: 60%;
}

.scrub-tile {
    background: var(--surface-low);
    border: 1px solid var(--outline);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.scrub-tile:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
}

/* Style #12: Geometric Cut */
.geometric-container {
    position: relative;
    padding: 80px;
    background: linear-gradient(135deg, var(--surface-low), var(--bg-color));
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--outline);
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

.geometric-cut-img {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    object-fit: cover;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    border: 8px solid var(--accent-color);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.8);
    z-index: 2;
    transition: var(--transition-smooth);
}

.geometric-container:hover .geometric-cut-img {
    transform: translate(-20px, 20px) scale(1.02);
    box-shadow: 30px 30px 80px rgba(255, 159, 28, 0.2);
}

.geometric-accent {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.geometric-content {
    width: 65%;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .bento-detail-grid, .split-scrub-container {
        display: block;
    }
    .scrub-sticky, .scrub-content, .geometric-content {
        width: 100%;
    }
    .scrub-sticky {
        position: static;
        margin-bottom: 30px;
    }
    .geometric-cut-img {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        clip-path: none;
        margin-top: 30px;
    }
}

/* CTA Strips */
.cta-strip {
    padding: 60px 0;
    background: var(--accent-color);
    color: var(--bg-color);
}

.cta-strip h2 {
    margin-bottom: 0;
    font-weight: 800;
}

/* Area Grid #16 - Auto-fill CSS grid of pill chips */
.area-section {
    padding: 100px 0;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.area-chip {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--outline);
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: default;
}

.area-chip:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

/* FAQ Section #17 - Bootstrap collapse accordion */
.faq-section {
    padding: 100px 0;
    background-color: var(--surface-low);
}

.accordion-item {
    background: var(--bg-color);
    border: 1px solid var(--outline);
    margin-bottom: 15px;
    border-radius: 8px !important;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 159, 28, 0.1);
}

.accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1.8rem;
    transition: var(--transition-smooth);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 159, 28, 0.05);
    color: var(--accent-color);
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1) sepia(100%) saturate(1000%) hue-rotate(0deg);
}

.accordion-body {
    color: var(--text-muted);
    padding: 0 1.8rem 1.8rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Section #16 - 2-col: phone + hours left, Google Map right */
.contact-section {
    padding: 100px 0;
}

.contact-info-card {
    background: var(--surface-high);
    padding: 3rem;
    border-radius: 4px;
    border-left: 5px solid var(--accent-color);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    filter: grayscale(1) invert(1) contrast(1.2);
}

/* Footer Style #16 - 3-col: Logo+description | Hours | Address */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--outline);
}

.footer-logo {
    max-height: 70px; /* Decreased from 100px */
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 159, 28, 0.2));
    /* Removed white filter to keep logo colors visible */
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar-collapse {
        background: rgba(28, 17, 6, 0.98);
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--accent-color);
        border-radius: 8px;
    }

    .hero::before {
        width: 100%;
        opacity: 0.3;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-image {
        margin-bottom: 2rem;
    }
}
