/* Global variables and base styles */
:root {
    /* Light Theme (Default) */
    --primary-color: #007bff;
    --primary-color-hover: #0056b3;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa; /* Hero background */
    --surface-color: #ffffff;    /* Panel, Header background */
    --surface-secondary-color: #f1f1f1; /* Testimonial background */
    --text-color: #333;
    --border-color: #eee;
    --shadow-color: rgba(0,0,0,0.2);
    --footer-bg-color: #333;
    --footer-text-color: #fff;
    --container-width: 1300px;
}

[data-theme='dark'] {
    /* Dark Theme Overrides */
    --primary-color: #B07178;
    --primary-color-hover: #996067;
    --secondary-color: #a0a0a0;
    --background-color: #222831;
    --surface-color: #393E46;
    --surface-secondary-color: #2c2c2e;
    --text-color: #E0E1DD;
    --border-color: #3a3a3c;
    --shadow-color: rgba(0,0,0,0.5);
    --footer-bg-color: #DFD0B8;
    --footer-text-color: #222831;
}


/* A better box-sizing model for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* Add smooth scrolling behavior to the root */
html {
    scroll-behavior: smooth;
    /* Add a smooth transition for all color changes */
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* General button styles */
.button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.button:hover {
    background-color: var(--primary-color-hover);
}