@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --onyx: #0a0a0a;
    --gunmetal: #1a1a1a;
    --gold: #d4af37;
    --gold-bright: #f4d03f;
    --gold-dark: #b8860b;
    --platinum: #f8f8f8;
    --slate: #2d2d2d;
    --glass: rgba(26, 26, 26, 0.85);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --luxury-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --gold-grad: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-bright) 50%, var(--gold-dark) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--onyx);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%),
        url("https://www.transparenttextures.com/patterns/dark-matter.png"); /* Texture */
    color: var(--platinum);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; 
    position: relative;
}

/* Gold Flake/Streak Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://www.transparenttextures.com/patterns/stardust.png'),
        linear-gradient(45deg, transparent 45%, rgba(212,175,55,0.1) 48%, rgba(212,175,55,0.2) 50%, rgba(212,175,55,0.1) 52%, transparent 55%);
    background-size: 200px 200px, 400% 400%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    animation: goldShine 15s infinite linear;
}

@keyframes goldShine {
    0% { background-position: 0 0, 0% 0%; }
    100% { background-position: 0 0, 100% 100%; }
}

/* Custom Cursor */
#custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

h1, h2, h3, .brand-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gold-text {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header Adjustments */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo img {
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: var(--platinum);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

nav a:hover {
    color: var(--gold);
}

.cta-button {
    background: var(--gold-grad);
    color: var(--onyx);
    padding: 12px 28px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 5%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-bg.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 1000px;
    z-index: 2;
}

.hero-tag {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 30px;
    line-height: 1.1;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero p {
    font-size: 1.2rem;
    color: var(--platinum);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 300;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards;
}

/* Animations */
@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Services Grid */
.services-section {
    padding: 120px 5%;
    background: var(--gunmetal);
    text-align: center;
}

.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--onyx);
    padding: 50px 40px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
    backdrop-filter: blur(5px);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: rotate(45deg);
    transition: 0.8s;
    pointer-events: none;
}

.service-card:hover::after {
    left: 100%;
    top: 100%;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    background: var(--slate);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    margin-top: 25px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Port Saint Lucie Geo Section */
.geo-section {
    padding: 100px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.geo-image {
    position: relative;
}

.geo-image img {
    width: 100%;
    border: 1px solid var(--gold);
    box-shadow: 30px 30px 0 var(--gunmetal);
}

.geo-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.geo-content p {
    margin-bottom: 20px;
    color: #ccc;
}

/* Doctor Hustle Emergency */
.emergency-banner {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('emergency-bg.jpg') center/cover;
    padding: 100px 5%;
    text-align: center;
    border-top: 2px solid #ff4d4d;
}

.emergency-banner h2 {
    color: #ff4d4d;
    font-size: 3rem;
    margin-bottom: 20px;
}

.emergency-banner .phone {
    font-size: 4rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--platinum);
    margin: 30px 0;
    display: block;
    text-decoration: none;
}

/* Portfolio Section */
.portfolio-section {
    padding: 120px 5%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.project-item {
    aspect-ratio: 4/5;
    background-color: var(--slate);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

/* FAQ / AEO */
.faq-section {
    padding: 100px 5%;
    background: var(--gunmetal);
}

.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--gold);
}

/* Footer */
footer {
    padding: 100px 5% 40px;
    background: #050505;
    border-top: 1px solid rgba(212,175,55,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.3));
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1rem;
    color: var(--gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--platinum);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: #444;
}

/* AI Chatbot Styles */
#hustle-bot-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--gold-grad);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--luxury-shadow);
    z-index: 1001;
    transition: var(--transition);
}

#hustle-bot-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

#hustle-bot-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

#hustle-bot-window.active {
    display: flex;
    animation: slideInUp 0.4s forwards;
}

@keyframes slideInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chat-header {
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(212,175,55,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 0.9rem;
}

.chat-input-container {
    padding: 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.chat-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 4px;
    padding: 10px;
    color: white;
    outline: none;
}

.chat-submit {
    background: var(--gold);
    border: none;
    padding: 10px 15px;
    color: black;
    border-radius: 4px;
    cursor: pointer;
}

.msg-bot { color: var(--gold); margin-bottom: 15px; }
.msg-user { color: #888; text-align: right; margin-bottom: 15px; }

/* Splash Screen & Logo Shatter Effect */
#splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo-shards {
    width: min(90%, 500px);
    height: min(90%, 500px);
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    animation: entranceFade 1s forwards ease-out;
}

@keyframes entranceFade {
    to { opacity: 1; transform: scale(1); }
}

.shard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1), opacity 1s, filter 1s;
}

.shard:nth-child(1) { clip-path: polygon(0 0, 50% 0, 50% 50%, 0 50%); }
.shard:nth-child(2) { clip-path: polygon(50% 0, 100% 0, 100% 50%, 50% 50%); }
.shard:nth-child(3) { clip-path: polygon(0 50%, 50% 50%, 50% 100%, 0 100%); }
.shard:nth-child(4) { clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%); }

#splash-overlay.shatter {
    animation: screenShake 0.4s 0.1s forwards;
}

#splash-overlay.shatter .shard:nth-child(1) { transform: translate(-180%, -180%) rotate(-450deg) scale(0); opacity: 0; filter: blur(10px); }
#splash-overlay.shatter .shard:nth-child(2) { transform: translate(180%, -180%) rotate(450deg) scale(0); opacity: 0; filter: blur(10px); }
#splash-overlay.shatter .shard:nth-child(3) { transform: translate(-180%, 180%) rotate(450deg) scale(0); opacity: 0; filter: blur(10px); }
#splash-overlay.shatter .shard:nth-child(4) { transform: translate(180%, 180%) rotate(-450deg) scale(0); opacity: 0; filter: blur(10px); }

#splash-text {
    position: absolute;
    bottom: 12%;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    letter-spacing: 12px;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeUp 1.5s 1s forwards ease-out;
    text-shadow: 0 0 15px rgba(212,175,55,0.4);
}

@keyframes textFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes screenShake {
    0% { transform: translate(0,0); }
    10% { transform: translate(-8px, -8px); }
    30% { transform: translate(8px, 8px); }
    50% { transform: translate(-8px, 8px); }
    70% { transform: translate(8px, -8px); }
    100% { transform: translate(0,0); }
}

/* Dumpster Section Styles */
.dumpster-highlight {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/dumpster.jpg') center/cover fixed;
    padding: 120px 5%;
    text-align: center;
}

.dumpster-specs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.spec-box {
    border: 1px solid var(--gold);
    padding: 30px;
    min-width: 200px;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 4px;
}

.spec-box h4 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* Multi-Device Optimization (Tablet & Mobile) */

/* Tablet Optimization (768px to 1024px) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    .geo-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .geo-image {
        order: -1;
    }
}

/* Mobile Optimization (< 768px) */
@media (max-width: 767px) {
    header {
        padding: 0.8rem 5%;
    }
    
    nav {
        display: none; 
    }

    .header-logo img {
        height: 45px;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 0.75rem;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.3rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .service-card {
        padding: 35px 25px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .emergency-banner .phone {
        font-size: 1.8rem;
    }

    #splash-text {
        font-size: 0.8rem;
        letter-spacing: 6px;
        bottom: 120px;
    }

    #hustle-bot-window {
        width: calc(100% - 30px);
        right: 15px;
        bottom: 90px;
    }
}

/* Fix for Ultra-Small Devices */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .header-logo img {
        height: 35px;
    }
}


