/* Common CSS styles for all pages */

/* Back to top button styles */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FF00FF;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.back-to-top-btn:hover {
    background-color: #D100D1;
    transform: translateY(-5px);
}

/* Dark mode toggle styles */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #1C73FF;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    background-color: #1057C2;
    transform: translateY(-5px);
}

/* Dark mode styles */
body.dark-mode {
    background-color: #222;
    color: #eee;
}

body.dark-mode .navbar {
    background: #960000;
}

body.dark-mode .footer {
    background: #111;
}

body.dark-mode .feature-card,
body.dark-mode .pet-card,
body.dark-mode .testimonial-card {
    background-color: #333;
    color: #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

body.dark-mode .card-title {
    color: #fff;
}

body.dark-mode .card-text,
body.dark-mode .section-text {
    color: #ccc;
}

body.dark-mode .pet-traits span {
    background: #444;
    color: #ddd;
}

body.dark-mode .features {
    background-color: #2a2a2a;
}

body.dark-mode .testimonials {
    background-color: #2a2a2a;
}

body.dark-mode .section-title {
    color: #eee;
}

body.dark-mode .footer-section p, 
body.dark-mode .footer-section li {
    color: #aaa;
}

/* Cookie consent styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    padding: 10px 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}

.cookie-accept {
    background-color: #1C73FF;
    color: white;
}

.cookie-settings {
    background-color: transparent;
    color: white;
    border: 1px solid white !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-buttons {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }
} 