/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
    background-color: #e5c158;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 10000;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: var(--primary-color);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#scrollTopBtn:hover {
    background-color: #e5c158;
    transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    max-width: 600px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Contact Form */
.contact-wrapper {
    margin-top: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
}

.form-group.full-width {
    max-width: 100%;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Visual feedback for required fields */
.form-group input:required,
.form-group textarea:required {
    border-left: 4px solid var(--accent-color);
}

.form-group input.valid,
.form-group textarea.valid {
    border-left-color: #28a745 !important;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-left-color: #dc3545 !important;
}

/* Submit Button Refinements */
.contact-form .btn {
    width: auto;
    /* Fit to text */
    min-width: 150px;
    /* Minimum width for aesthetics */
    align-self: flex-start;
    /* Align left */
    padding: 12px 30px;
    /* Slightly wider padding */
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-form .btn:disabled {
    opacity: 0.7;
    /* Keep color but fade it slightly */
    cursor: not-allowed;
    /* Show the 'no entry' cursor */
    transform: none;
    box-shadow: none;
}

/* Responsive Components */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .btn {
        text-align: center;
        width: 100%;
    }
}