/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&family=Oswald:wght@200..700&display=swap');

/* General Styles */
body {
    font-family: 'Libertinus Sans', sans-serif;
    overflow-x: hidden;
    color: #333;
}

/* Custom Font Class for Headings */
.oswald {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Navbar Animation --- */
.navbar {
    transition: all 0.4s ease-in-out;
    padding: 15px 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important; /* Glass effect */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- Hero/Carousel Section --- */
.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darkens image so text is readable */
}

/* Hero Text Overlay */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Typing Animation Color */
.hero-content span {
    color: #0d6efd; /* Bootstrap Primary Color */
    font-weight: 700;
}

/* --- About Section & Accordion --- */
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* --- Card Animations (Projects & Profiles) --- */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden; /* Keeps images inside rounded corners */
}

/* Hover Effect: Lifts up and adds shadow */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom effect on image hover */
.card:hover .card-img-top {
    transform: scale(1.05);
}

/* --- Contact Section --- */
.contact-info-box {
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
    display: inline-block;
}

/* Form Styles */
form {
    background-color: #ffffff;
}

.form-control {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* --- Eye-Catchy Social Media Buttons --- */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    color: white; /* Keeps text white on hover */
}

/* Brand Colors */
.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.twitter-btn {
    background-color: #000000;
}

.linkedin-btn {
    background-color: #0077b5;
}

.facebook-btn {
    background-color: #1877F2;
}

/* --- Footer --- */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0d6efd !important;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
}