/*
Theme Name: Onsite Support - Professional Services Theme
Description: A clean and professional theme for a tech support website.
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* --- Root Variables --- */
:root {
    --primary-color: #0575e6;
    --secondary-color: #021b79;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-light: #ffffff;
    --text-dark: #212529;
    --font-family: 'Roboto', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Base Styles --- */
body {
    font-family: var(--font-family);
    background-color: var(--light-color);
    color: var(--text-dark);
    line-height: 1.6;
    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* --- Header --- */
.main-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--text-light);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.hero-section h1 {
    color: var(--text-light);
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Cards --- */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* --- Icons --- */
.fas {
    color: var(--primary-color);
}

/* --- Footer --- */
.footer {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
}

.footer a {
    color: var(--light-color);
}

.footer a:hover {
    opacity: 0.9;
}

.social-icons a {
    font-size: 1.5rem;
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 250px;
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: flex-start; /* Align items to the start */
    gap: 10px; /* Reduce gap for smaller width */
    z-index: 1000;
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.8rem; /* Adjust font size for smaller width */
}

.cookie-consent-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-consent-banner .btn {
    width: 100%; /* Make button full width */
    text-align: center;
}
