/* CSLink Website Styles */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.top-header {
    background-color: black;
    color: white;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.top-header a,
.top-header button {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.top-header a:hover,
.top-header button:hover {
    text-decoration: underline;
}

header {
    background-color: white;
    color: #2c3e50;
    padding: 60px 0 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header img {
    max-width: 200px;
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: center;
}

nav a {
    color: #2c3e50;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

section, main {
    padding: 40px 20px;
    background-color: white;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

h2 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 20px;
}

h2.hidden {
    display: none;
}

h3 {
    color: #34495e;
    font-size: 1.5em;
    margin-top: 20px;
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.centered-text {
    text-align: center;
    font-size: 1.5em;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.service-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

/* Email button styling */
.email-button {
    background: none;
    border: none;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

.email-button:hover {
    text-decoration: underline;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2c3e50;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Cookie Consent Banner */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cookie-accept {
    background-color: #27ae60;
    color: white;
}

.cookie-accept:hover {
    background-color: #229954;
}

.cookie-decline {
    background-color: #95a5a6;
    color: white;
}

.cookie-decline:hover {
    background-color: #7f8c8d;
}

/* Form labels for accessibility */
.form-group {
    width: 100%;
    max-width: 600px;
    margin: 10px 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
    text-align: left;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    section, main {
        padding: 20px 10px;
        margin: 10px auto;
    }
    
    nav {
        flex-direction: column;
    }
    
    nav a {
        margin: 10px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
