/*
 * Family Guide Main Styles
 * Imports and Core Layout
 */

/* Import Components */
@import url('hero.css');
@import url('visuals.css');
@import url('cards.css');
@import url('filters.css');
@import url('responsive.css');

:root {
    --primary-color: #00a8cc;
    /* Ocean Blue */
    --secondary-color: #ffb347;
    /* Sunny Orange */
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Rubik', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Header Adjustments */
.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    /* Fix vertical stacking */
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.site-tagline {
    font-size: 0.8rem;
    color: var(--text-light);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

/* Footer Adjustments */
.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 3rem 0;
    margin-top: 4rem;
}

.site-footer a {
    color: #ecf0f1;
    text-decoration: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #008ca1;
    /* Darker Blue */
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ffb347;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #f39c12;
    transform: translateY(-5px) scale(1.1);
    color: white !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top i {
    pointer-events: none;
    line-height: 1;
    font-style: normal;
}
