:root {
    --color-primary: #4f131f;
    --color-secondary: #881534;
    --color-accent: #a6393c;
    --color-white: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.navbar {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-primary) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: var(--color-white) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px);
}

.hero-section {
    background: linear-gradient(rgba(79, 19, 31, 0.85), rgba(136, 21, 52, 0.85)), url('static/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    color: var(--color-primary);
}

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

.content-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-img-container {
    height: 220px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .card-img-container img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.alternate-layout {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.social-cta {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    border-radius: 15px;
    margin: 50px 0;
}

.social-icons a {
    display: inline-block;
    margin: 0 15px;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

footer {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.hexagon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.hexagon-item {
    position: relative;
    height: 200px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hexagon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.hexagon-item:nth-child(odd) {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
}

@media (max-width: 768px) {
    .hexagon-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 60px 0;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
}