/* style.css */

/* Color Variables */
:root {
    --primary-color: #0a192f;  /* Dark Navy Blue */
    --secondary-color: #ff5c33; /* Bright Orange-Red (Contrast) */
    --accent-color: #66fcf1;   /* Teal Accent */
    --light-color: #f8f9fa;    /* Light Background */
    --dark-color: #333;        /* Dark Gray Text */
    --white-color: #ffffff;    /* Pure White */

    --default-font: 'Courier New';
}

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* Intro */
.intro {
    font-family: 'Courier New';
}
.typing::after{
    content: "|";
    border-right: 3px solid var(--primary-color);
    animation: blink 0.6s infinite;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
}

.navbar-brand, 
.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    font-family: var(--default-font);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border-color: var(--secondary-color);
    }

.navbar-toggler-icon {
    filter: invert(63%) sepia(77%) saturate(664%) hue-rotate(-10deg) brightness(105%) contrast(102%);
}

.custom-toggler-icon {
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    display: block;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}


/* Header Section */
/* h1 {
    color: var(--primary-color);
} */

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #e04b2d; /* Slightly darker shade for hover */
    border-color: #e04b2d;
}

/* Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
}

/* Container Styling */
.container {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    font-family: 'Courier New';
    color: var(--secondary-color);
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    display: flex;  /* Use flexbox for the layout */
    justify-content: space-between;  /* Distribute columns evenly */
    gap: 20px;  /* Adds space between the columns */
}

.footer .col {
    flex: 1;  /* Makes each column take equal width */
    padding: 10px;
}

.footer h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer p {
    font-size: 1em;
    line-height: 1.5;
}


/* Profile Image */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes it circular */
    border: 4px solid var(--primary-color); /* Adds a neat border */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    object-fit: cover;
}

/* Social Buttons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.social-btn:hover {
    transform: scale(1.1); /* Slight zoom effect */
}

/* Icon Colors */
.btn-outline-primary { color: #0a66c2; border-color: #0a66c2; } /* LinkedIn */
.btn-outline-dark { color: #333; border-color: #333; } /* GitHub */
.btn-outline-danger { color: #e4405f; border-color: #e4405f; } /* Instagram */
.btn-outline-primary:hover, 
.btn-outline-dark:hover, 
.btn-outline-danger:hover { background-color: rgba(0, 0, 0, 0.1); }

/* Contact Form Styling */
.form-container {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: 'Courier New', Courier, monospace;
}

.contact-form {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    font-weight: bold;
    color: var(--primary-color);
}

.contact-form .form-control {
    border: 2px solid var(--light-color);
    border-radius: 5px;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(255, 92, 51, 0.5);
}

.contact-form button {
    background-color: var(--secondary-color);
    border: none;
}

.contact-form button:hover {
    background-color: #e04b2d;
}

#spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Ensure circular bubbles for images */
.img-fluid.rounded-circle {
    object-fit: cover;
    width: 180px;
    height: 180px;
    border: 3px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


