:root {
    --primary: #000000; /* Change button color to black */
    --primary-hover: #333333; /* Darker shade for hover effect */
    --background: #ffffff;
    --foreground: #000000; /* Change accent color to black */
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--foreground); /* Ensure body text uses the foreground color */
    line-height: 1.5;
}

.container {
    min-height: 100vh;
    padding: 2rem;
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    padding: 2rem;
}

.content-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.content-left p {
    font-size: 1.125rem;
    color: var(--foreground); /* Ensure paragraph text uses the foreground color */
}

.create-resume-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.create-resume-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.create-resume-btn:active {
    transform: scale(0.95);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    touch-action: pan-y pinch-zoom;
}

.carousel-wrapper {
    position: relative;
    height: 0;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.nav-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--foreground);
}

/* Dots Navigation */
.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    width: 1.5rem;
    background-color: white;
}

/* Responsive Design */
@media (min-width: 1024px) {
    .content-wrapper {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .content-left h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .content-left h1 {
        font-size: 2rem;
    }

    .nav-btn {
        width: 2rem;
        height: 2rem;
    }

    .nav-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Touch Feedback */
.carousel-container.dragging {
    cursor: grabbing;
}

/* Accessibility */
.nav-btn:focus,
.dot:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-slide,
    .nav-btn,
    .dot {
        transition: none;
    }
}

.highlight {
    background-color: grey; /* Highlight color */
    font-weight: bold; /* Optional: make the text bold */
}