/* Custom colors */
:root {
  --primary: #cc0000;
  --secondary: #990000;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --accent-blue: #3b82f6;
  --success: #5cb85c;
  --warning: #f0ad4e;
  --danger: #d9534f;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Typography and base styles */
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #333333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', system-ui, sans-serif;
}

/* Custom animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Custom gradients */
.bg-red-gradient {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
}

/* Custom shadows */
.custom-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shadow-red {
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.2);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Card hover effects */
.benefit-card, .service-card, .portfolio-item {
    transition: all 0.3s ease;
}

.benefit-card:hover, .service-card:hover, .portfolio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Better heading styling */
.heading-xl {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.heading-lg {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.heading-md {
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

/* Image placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: #cc0000;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

/* Custom list styles */
.custom-list-icon li {
    position: relative;
    padding-left: 1.5rem;
}

.custom-list-icon li:before {
    content: "\f061";
    font-family: "Font Awesome 6 Pro";
    position: absolute;
    left: 0;
    top: 0.125rem;
    color: #cc0000;
}


/* Website screenshot scrolling animation */
.website-screenshot-container {
    position: absolute;
    width: 100%;
    animation: scrollScreenshot 30s linear infinite;
}

.website-screenshot-container img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes scrollScreenshot {
    0% { transform: translateY(0); }
    45% { transform: translateY(-50%); }
    50% { transform: translateY(-50%); }
    95% { transform: translateY(0); }
    100% { transform: translateY(0); }
}



/* Services hero background */
.services-hero {
    background-image: url('/images/background-square-pixels-white.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: -1
}
.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: -1;
}

/* Services CTA background */
.services-cta {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    position: relative;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/background-square-pixels-white.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.services-cta > * {
    position: relative;
    z-index: 1;
}

/* Portfolio Carousel Styles - Add to your existing styles.css */

.portfolio-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: grab;
}

.portfolio-carousel:active {
    cursor: grabbing;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%; /* 4 slides = 400% */
}

.carousel-slide {
    width: 25%; /* Each slide takes 25% of container width */
    flex-shrink: 0;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.dot:hover {
    background-color: #9ca3af;
    transform: scale(1.1);
}

.dot.active {
    background-color: #cc0000;
    transform: scale(1.2);
}

.portfolio-label {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

/* Feature Cards Hover Effects */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card:hover .bg-primary {
    transform: scale(1.05);
}

.feature-card .bg-primary {
    transition: transform 0.3s ease;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .portfolio-label {
        bottom: -0.5rem;
        left: -0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .carousel-dots {
        margin-top: 1rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 640px) {
    .portfolio-carousel {
        border-radius: 0.75rem;
    }
    
    .portfolio-label {
        position: static;
        margin-top: 1rem;
        text-align: center;
    }
}
/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .heading-xl {
        font-size: 2.5rem;
    }
    
    .heading-lg {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .heading-xl {
        font-size: 2rem;
    }
    
    .heading-lg {
        font-size: 1.75rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Google Business Profile Optimization Section */
.gbp-optimization-block {
    text-align: center;
}

.gbp-image-wrapper {
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gbp-image-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gbp-feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.gbp-text-content {
    padding: 0 1rem;
}

.gbp-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--darkgray);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gbp-feature-caption {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .gbp-feature-title {
        font-size: 1.375rem;
    }
    
    .gbp-text-content {
        padding: 0 0.5rem;
    }
}

@media (min-width: 1024px) {
    .gbp-feature-title {
        font-size: 1.5rem;
    }
    
    .gbp-text-content {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .gbp-optimization-block {
        margin-bottom: 3rem;
    }
    
    .gbp-optimization-block:last-child {
        margin-bottom: 0;
    }
    
    .gbp-image-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .gbp-feature-title {
        font-size: 1.125rem;
    }
    
    .gbp-feature-caption {
        font-size: 0.9rem;
    }
}