/**
 * Beretta Moldova – culori și stiluri din berettaheating.com/romania
 * Extrase din /romania/engines/css/main.css (site oficial Beretta România)
 */

/* ========== Paletă exactă din main.css Beretta Romania ========== */
:root {
    /* Accent principal (linkuri, hover nav, borduri footer) – main.css */
    --beretta-accent: #C8D100;
    --beretta-accent-hover: #d43133;
    /* Header, top-bar, footer – main.css */
    --beretta-header-bg: #4a4a4a;
    --beretta-footer-bg: #4a4a4a;
    --beretta-footer-border: #C8D100;
    /* Text – main.css body, h1, h2, h3 */
    --beretta-text: #4e4e4e;
    --beretta-heading: #4e4e4e;
    --beretta-heading-light: #787878;
    --beretta-nav: #666666;
    /* Fundaluri */
    --white: #ffffff;
    --bg-body: #fff;
    --bg-light: #f5f5f5;
    --bg-middle: #F5F5F5;
    --border: #e5e5e5;
    /* Fonturi – main.css */
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Open Sans Condensed', sans-serif;
    --line-height-body: 22px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--beretta-text);
    background: var(--bg-body);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--beretta-heading);
}

/* ========== Header – top-bar + navbar stil Beretta Romania (#4a4a4a) ========== */
.header {
    background: var(--beretta-header-bg);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    gap: 0.5rem;
}

.logo-link:hover {
    color: var(--white);
    opacity: 0.95;
}

.logo-img {
    display: block;
    height: 38px;
    width: auto;
}

.country-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    background: var(--beretta-accent);
    padding: 0.3rem 0.55rem;
    border-radius: 3px;
    letter-spacing: 0.08em;
}

/* ========== Hero – slider style (carousel-content: text alb, fundal închis) ========== */
.hero {
    background: var(--beretta-header-bg);
    color: var(--white);
    padding: 5.5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.9rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    background: none;
}

.hero .tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--beretta-accent);
    margin-bottom: 0.85rem;
}

.hero .hero-text,
.hero p {
    max-width: 540px;
    margin: 0 auto;
    opacity: 0.92;
    font-size: 1.05rem;
    color: var(--white);
}

.hero .hero-text {
    margin-top: 0;
}

/* ========== Intro – #middle style (background #F5F5F5, text #4e4e4e) ========== */
.intro {
    max-width: 820px;
    margin: 0 auto;
    padding: 4.5rem 2rem;
    text-align: center;
    background: var(--bg-middle);
}

.intro h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--beretta-heading);
    margin-bottom: 1.25rem;
}

.intro p {
    color: var(--beretta-text);
    font-size: 1rem;
    line-height: 1.65;
}

/* ========== Contact – #bottom style (linkuri #C8D100, hover #d43133 din main.css) ========== */
.contact {
    max-width: 720px;
    margin: 0 auto;
    padding: 4.5rem 2rem;
    text-align: center;
    background: var(--bg-light);
}

.contact h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--beretta-heading);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.contact p {
    color: var(--beretta-text);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.contact p:last-child {
    margin-bottom: 0;
}

.contact a {
    color: var(--beretta-accent);
    text-decoration: none;
    font-weight: bold;
    transition: color 300ms;
}

.contact a:hover,
.contact a:focus {
    color: var(--beretta-accent-hover);
}

.contact a:focus {
    outline: 2px solid var(--beretta-accent);
    outline-offset: 2px;
}

/* ========== Footer – #footer.midnight-blue (main.css: #4a4a4a, border-top #C8D100) ========== */
.presentation {
    min-height: 60vh;
}

.footer {
    background: var(--beretta-footer-bg);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    margin-top: 0;
    border-top: 10px solid var(--beretta-footer-border);
}

.footer p {
    opacity: 0.9;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer p:last-child {
    margin-bottom: 0;
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer a:hover {
    color: var(--beretta-accent);
}

.footer a:focus {
    outline: 2px solid var(--beretta-accent);
    outline-offset: 2px;
}
