/* Custom styles for MySite */

/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}

/* Color variables for red & black theme */
:root {
    --main-red: #b85c5c; /* Muted, less saturated red */
    --main-red-dark: #8a3c3c;
    --main-black: #232323; /* Softer black */
    --main-dark: #181818;
    --main-white: #f8f8f8;
}

/* Custom button styles */

.btn-custom {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--main-red);
    color: var(--main-white);
    border: none;
}

.btn-custom:hover, .btn-primary:hover, .btn.btn-primary:hover {
    background: var(--main-red-dark);
    color: var(--main-white);
}

/* Enhanced card shadows */

.card {
    transition: all 0.3s ease;
    border: 1px solid var(--main-red);
}

.card-header.bg-primary, .bg-primary {
    background-color: var(--main-red) !important;
    color: var(--main-white) !important;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 92, 92, 0.15);
}

/* Custom hero section */


.hero-section {
    background: linear-gradient(135deg, var(--main-black) 0%, var(--main-red) 100%);
    position: relative;
    overflow: hidden;
    color: var(--main-white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

/* Feature icons animation */

.feature-card i {
    transition: transform 0.3s ease;
    color: var(--main-red) !important;
}

.feature-card:hover i {
    transform: scale(1.1);
    color: var(--main-red-dark) !important;
}

/* Social links hover effect */

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
    color: var(--main-red);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--main-red-dark);
}

/* Form styling */


.form-control:focus {
    border-color: var(--main-red);
    box-shadow: 0 0 0 0.2rem rgba(184, 92, 92, 0.25);
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    .display-6 {
        font-size: 1.8rem;
    }
}

/* Navbar and footer */
.navbar, .footer {
    background: var(--main-black) !important;
    color: var(--main-white) !important;
}
.navbar .navbar-brand, .navbar .nav-link {
    color: var(--main-red) !important;
}
.navbar .nav-link.active, .navbar .nav-link:focus, .navbar .nav-link:hover {
    color: var(--main-white) !important;
    background: var(--main-red) !important;
    border-radius: 5px;
}
.footer a {
    color: var(--main-red);
}
.footer a:hover {
    color: var(--main-red-dark);
}







