/* Catherine Pfaff Website - Consistent Design System */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Custom CSS Variables for Consistent Color Scheme */
:root {
    --navy: #1e3a8a;
    --warm-gray: #6b7280;
    --math-blue: #3b82f6;
    --off-white: #f8fafc;
    --charcoal: #1f2937;
    --light-gray: #f3f4f6;
    --border-gray: #e5e7eb;
    --hover-blue: #2563eb;
    --success-green: #059669;
    --warning-orange: #d97706;
}

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    color: var(--charcoal);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background-color: var(--navy);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--math-blue);
}

/* Cards */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--math-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--hover-blue);
    color: white;
}

.btn-secondary {
    background-color: var(--navy);
    color: white;
}

.btn-secondary:hover {
    background-color: #1e40af;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--math-blue);
    border: 2px solid var(--math-blue);
}

.btn-outline:hover {
    background-color: var(--math-blue);
    color: white;
}

/* Links */
a {
    color: var(--math-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-blue);
    text-decoration: underline;
}

/* Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    min-height: 24rem;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    width: 100%;
    flex-shrink: 0;
}

.carousel-slide a {
    display: block;
    text-decoration: none;
}

.carousel-slide a:hover {
    text-decoration: none;
}

.carousel-image {
    width: 100%;
    height: 24rem;
    object-fit: contain;
    background-color: var(--light-gray);
    border-radius: 0.5rem;
    transition: opacity 0.3s ease;
}

.carousel-slide a:hover .carousel-image {
    opacity: 0.9;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--math-blue);
}

.dot:hover {
    background-color: var(--math-blue);
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: var(--math-blue);
}

/* Profile Image */
.profile-image {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.profile-image-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.profile-image-header {
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .carousel-image {
        height: 18rem;
    }
    
    .profile-image {
        width: 255px;
        height: 255px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Additional positioning utilities */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.left-1/2 {
    left: 50%;
}

.transform {
    transform: translateX(-50%);
}

.-translate-x-1/2 {
    transform: translateX(-50%);
}

.-mt-4 {
    margin-top: -1rem;
}

.-mt-6 {
    margin-top: -1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .hidden {
        display: none;
    }
}
