:root {
    --ce-gold: #C8960C;
    --ce-gold-light: #F0C040;
    --ce-gold-dark: #8B6000;
    --ce-black: #1A1A1A;
    --ce-white: #FFFFFF;
    --ce-cream: #FAF8F2;
    --ce-gold-tint: #E8D880;
    --ce-charcoal: #555555;
    --ce-grey: #999999;
}

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

h1, h2, h3, .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar Customization */
.navbar {
    background-color: var(--ce-black);
    border-bottom: 3px solid var(--ce-gold);
    padding: 1rem 0;
}

.navbar-brand, .nav-link {
    color: var(--ce-white) !important;
}

.nav-link:hover {
    color: var(--ce-gold-light) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), 
                url('https://images.unsplash.com/photo-1586864387917-f729d582df7e?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    color: var(--ce-white);
    padding: 120px 0;
    border-bottom: 8px solid var(--ce-gold-dark);
    position: relative;
    overflow: hidden; /* Prevents cogs from showing outside the hero */
}

/* Ensure the text container stays above the animation */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.cog-rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows clicking through to buttons */
    z-index: 1;
}

/* The individual cogwheel styling */
.falling-cog {
    position: absolute;
    top: -100px; /* Start above the view */
    opacity: 0.6;
    filter: drop-shadow(0 0 5px rgba(200, 150, 12, 0.3)); /* Subtle gold glow */
    animation: fall linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(120vh) rotate(360deg); /* Fall past the bottom and spin */
    }
}

.btn-gold {
    background-color: var(--ce-gold);
    color: var(--ce-white);
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: var(--ce-gold-light);
    color: var(--ce-black);
}

/* Section Styling */
.bg-cream { background-color: var(--ce-cream); }

.section-title {
    color: var(--ce-black);
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--ce-gold);
}

/* Category Cards */
.category-card {
    border: 1px solid var(--ce-gold-tint);
    transition: transform 0.3s ease;
    background: white;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--ce-gold);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--ce-black);
    color: var(--ce-grey);
    padding: 50px 0 20px;
}

footer h5 { color: var(--ce-gold-light); }

.contact-info i {
    color: var(--ce-gold);
    margin-right: 10px;
}