/* Reset e estilos base (core) 
   This file now contains only core variables, reset and small global rules.
   Large component-specific rules were moved to components.css to improve maintainability.
   Tombstones below indicate where styles were removed.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --primary: #0b2545;        /* deep navy */
    --secondary: #123e51;      /* darker teal */
    --accent: #ff7a59;         /* coral accent */
    --light: #FFFFFF;
    --light-gray: #f4f8ff;     /* very light blue */
    --border: rgba(11,37,69,0.08);
    --text: #102235;           /* near-black with blue tone */
    --text-light: #3b5366;     /* muted blue-gray */
    --success: #0f9d58;

    /* New: central header height variable to prevent overlap and make JS offsets consistent */
    --header-height: 80px;
}

body {
    background-image: linear-gradient(135deg, #f5f8ff 0%, #eef7fb 40%, #f7f3ff 100%);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    /* ensure content isn't hidden behind fixed header on small viewports */
    padding-top: var(--header-height);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* New: explicit header height and consistent alignment to avoid layout jumps */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    transition: padding 0.2s ease, box-shadow 0.2s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

/* Ensure header content layout */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* slightly reduce default header padding to match script toggles */
header { padding: 0 0; }

/* Constrain logo size so header stays stable */
.logo img,
.footer-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

/* Improve nav layout (prevents wrapping/height jumps) */
nav ul {
    display: flex;
    gap: 24px;
    align-items: center;
    list-style: none;
}

/* Tombstones: component styles moved to components.css to declutter this file */

// removed hero section styles and large hero-video rules
// removed about section styles (.about-content, .chemical-image, .image-caption)
// removed products & carousel styles (.products, .carousel, .carousel-track, .product-card, etc.)
// removed customization and adornments gallery styles (.customization-steps, .adornments-grid, .adornment-card, etc.)
// removed cta and footer styles (footer gradient, .footer-content, .footer-column, social icons, responsive rules)
// removed many media queries and duplicated mobile-specific adornments rules

/* Small helpers still kept here */
h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary);
    font-weight: 450;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    text-align: left;
    font-weight: 450;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--primary);
    color: var(--light);
    border: 1px solid rgba(11,37,69,0.95);
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* End of core file. Component styles were relocated to components.css for clarity. */