/* ===================================
   Bob's Concrete - Modern Website
   Burgundy & Blush Color Palette
   =================================== */

:root {
    /* Primary Colors */
    --burgundy: #782F40;
    --burgundy-dark: #5A1F2E;
    --burgundy-light: #9A4B5C;
    --blush: #FDF0D5;
    --blush-light: #FFF8F0;
    --blush-dark: #E8C9A8;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-600: #757575;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Typography */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(120, 47, 64, 0.08);
    --shadow-md: 0 4px 20px rgba(120, 47, 64, 0.12);
    --shadow-lg: 0 8px 40px rgba(120, 47, 64, 0.16);
    --shadow-xl: 0 12px 60px rgba(120, 47, 64, 0.20);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background-color: var(--blush-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--burgundy);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn-secondary:hover {
    background-color: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 240, 213, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--blush-dark);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--space-lg);
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--burgundy);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--burgundy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-800);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--burgundy);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a:not(.btn):hover {
    color: var(--burgundy);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--burgundy);
    padding: 0.5rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--blush);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.mobile-link:hover {
    color: var(--burgundy);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding-top: 100px;
    padding-bottom: var(--space-3xl);
    background: linear-gradient(135deg, var(--blush-light) 0%, var(--blush) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    padding-right: var(--space-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    color: var(--burgundy);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--burgundy);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.hero-title span {
    color: var(--burgundy);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-trust {
    display: flex;
    gap: var(--space-lg);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.trust-item svg {
    color: var(--burgundy);
}

/* Hero Image Layout */
.hero-image-wrapper {
    position: relative;
    height: 550px;
}

.hero-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-float {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 45%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.hero-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.float-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.float-badge span:first-child {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.float-badge span:last-child {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--space-3xl) 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: var(--blush-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blush-dark);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--burgundy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--space-3xl) 0;
    background-color: var(--blush);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--burgundy);
    border-radius: var(--radius-lg);
    opacity: 0.2;
    z-index: -1;
}

.about-content {
    padding-left: var(--space-lg);
}

.about-text {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--gray-800);
}

.feature-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: var(--space-3xl) 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(120, 47, 64, 0.9), transparent);
    padding: var(--space-lg);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--blush) 0%, var(--blush-light) 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info {
    padding-right: var(--space-lg);
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--burgundy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-item a {
    color: var(--burgundy);
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    transition: all 0.3s ease;
    background-color: var(--blush-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(120, 47, 64, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--burgundy);
}

.form-success svg {
    margin-bottom: var(--space-md);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-600);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    color: var(--white);
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-icon {
    color: var(--blush);
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-300);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--blush);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-800);
    width: 100%;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--gray-600);
}

.footer-bottom a:hover {
    color: var(--blush);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }
    
    .hero-img-main {
        width: 90%;
        height: 85%;
    }
    
    .hero-img-float {
        width: 55%;
        height: 40%;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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