/* CSS Variables & Theme Setup */
:root {
    --primary-color: #0f172a;       /* Slate 900 */
    --secondary-color: #1e293b;     /* Slate 800 */
    --accent-color: #0284c7;        /* Sky 600 */
    --accent-hover: #0369a1;        /* Sky 700 */
    --bg-light: #f8fafc;            /* Slate 50 */
    --bg-card: #ffffff;
    --text-main: #475569;           /* Slate 600 */
    --text-light: #64748b;          /* Slate 500 */
    --text-dark: #0f172a;
    --border-color: #e2e8f0;        /* Slate 200 */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

/* Top Contact Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.bar-item svg {
    color: var(--accent-color);
}

/* Header & Logo */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a:not(.cta-btn) {
    font-weight: 600;
    color: var(--text-dark);
}

.main-nav a:not(.cta-btn):hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: heroDrift 25s ease-in-out infinite alternate;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

/* Hero Entrance Animations */
.hero-content .badge {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero p {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-actions {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}

.small-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.primary-btn {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.4);
}

.primary-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(2, 132, 199, 0.5);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 16px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(2, 132, 199, 0.3);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--accent-color);
    border-radius: 10px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.subheading {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-main);
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
}

.image-accent {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 120px;
    height: 120px;
    background-color: rgba(2, 132, 199, 0.1);
    border-radius: 12px;
    z-index: 1;
}

/* Info Section (Hours & Service Area) */
.info-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent-color);
    padding-left: 16px;
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-list li:last-child {
    border-bottom: none;
}

.service-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.contact-details p {
    margin-bottom: 12px;
}

.contact-details a {
    color: var(--accent-color);
    font-weight: 700;
}

.contact-details a:hover {
    color: #ffffff;
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-container {
    max-width: 800px;
}

.contact-heading {
    text-align: center;
    margin-bottom: 48px;
}

.contact-heading h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-heading p {
    color: var(--text-light);
}

.contact-heading a {
    color: var(--accent-color);
    font-weight: 700;
}

.contact-form {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 100%;
    color: var(--text-dark);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.submit-btn {
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status.success {
    background-color: #d1fae5;
    color: #065f46;
}

.form-status.error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Footer Styling */
footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.yelp-ref a {
    color: #ffffff;
    text-decoration: underline;
}

.yelp-ref a:hover {
    color: var(--accent-color);
}

/* Marketing Badge (Claim Badge) */
.marketing-badge {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: slideUp 0.5s ease-out;
    max-width: 600px;
    margin: 0 auto;
}

.badge-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.badge-content p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.badge-content strong {
    color: var(--accent-color);
}

.close-badge {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-speed);
}

.close-badge:hover {
    color: #ffffff;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .bar-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    .main-nav {
        gap: 16px;
    }
    .hero {
        height: auto;
        padding: 100px 0 80px 0;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .marketing-badge {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 12px 16px;
    }
}

/* Scroll-Reveal & Premium Keyframe Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for service cards */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }

/* Micro-animations and hover effects */
.about-image img {
    animation: floatImage 6s ease-in-out infinite;
}

.primary-btn {
    position: relative;
    overflow: hidden;
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
}

.primary-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes heroDrift {
    0% {
        transform: scale(1.02) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-1.5%, -0.8%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}
