:root {
    /* Primary Colors */
    --charcoal: #2C2C2C;
    --warm-white: #FAFAFA;
    --pure-white: #FFFFFF;
    
    /* Accent Colors */
    --refined-blue: #3B82F6;
    --soft-gold: #D4AF37;
    --muted-sage: #8B9A8B;
    
    /* Neutral Grays */
    --light-gray: #F8F9FA;
    --medium-gray: #6B7280;
    --border-gray: #E5E7EB;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--warm-white);
    color: var(--charcoal);
}

/* Navigation Styles */
.nav-link {
    font-weight: 500;
    color: var(--charcoal);
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--refined-blue);
    border-bottom-color: var(--refined-blue);
}

.nav-link-special {
    font-weight: 600;
    color: var(--refined-blue);
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-link-special:hover {
    background-color: var(--refined-blue);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--medium-gray) 100%);
    background-image: url('images/large/IMG_6763.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(44, 44, 44, 0.5), rgba(44, 44, 44, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-button {
    display: inline-block;
    background-color: var(--refined-blue);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-button:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Load More Button */
.load-more-button {
    background-color: var(--charcoal);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.load-more-button:hover {
    background-color: var(--refined-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--refined-blue);
    transform: translateY(-3px);
}

.social-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--refined-blue);
    color: white;
    transition: all 0.3s ease;
}

.social-icon-large:hover {
    background-color: #2563EB;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.masonry-item {
    position: relative;
    cursor: pointer;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--light-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    
    /* Force GPU acceleration for smoother animations */
    transform: translateZ(0);
    will-change: transform;
}

.masonry-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Enhanced modal styling */
.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(44, 44, 44, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.modal-content {
    max-width: 90vw;
    max-height: 90vh;
}
.modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Custom accent colors */
.text-gold { color: var(--soft-gold); }
.text-sage { color: var(--muted-sage); }
.bg-warm-white { background-color: var(--warm-white); }

/* True Masonry layout with JS positioning */
.masonry-grid {
    position: relative;
    width: 100%;
}

.masonry-item {
    position: absolute;
    cursor: pointer;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--light-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    
    /* Force GPU acceleration for smoother animations */
    transform: translateZ(0);
    will-change: transform;
}

.masonry-item:hover {
    transform: translateY(-8px) scale(1.02) translateZ(0);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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