/* ============================================
   HAMEED'S BUTCHERS - Base Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #2e7d32;
    --color-primary-dark: #1b5e20;
    --color-primary-light: #4caf50;
    --color-primary-lighter: #81c784;
    --color-accent: #a5d6a7;
    --color-white: #ffffff;
    --color-off-white: #f5f7f5;
    --color-light-gray: #e8ece8;
    --color-medium-gray: #6b6b6b;
    --color-charcoal: #1a1a1a;
    --color-dark-section: #0d1f0d;
    --color-dark-footer: #111;
    --color-text: #333333;
    --color-text-light: #555555;

    --font-display: 'Oswald', 'Arial Black', sans-serif;
    --font-body: 'Open Sans', 'Segoe UI', sans-serif;

    --h1-size: 56px;
    --h2-size: 42px;
    --h3-size: 26px;
    --h4-size: 20px;
    --body-size: 16px;
    --small-size: 14px;

    --section-padding: 80px 0;
    --container-width: 1200px;
    --header-height: 80px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* --- Modern CSS Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
}

h1 {
    font-size: var(--h1-size);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: var(--h2-size);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h3 {
    font-size: var(--h3-size);
    color: var(--color-primary);
}

h4 {
    font-size: var(--h4-size);
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section--dark {
    background-color: var(--color-dark-section);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section--gray {
    background-color: var(--color-off-white);
}

.section--green {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section--green h2,
.section--green h3 {
    color: var(--color-white);
}

.section--green p {
    color: rgba(255, 255, 255, 0.9);
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section__header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 16px auto 0;
}

.section--dark .section__header h2::after,
.section--green .section__header h2::after {
    background-color: var(--color-white);
}

.section__header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

/* --- Grid Layouts --- */
.grid {
    display: grid;
    gap: 30px;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* --- Two Column Layout --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col--reverse {
    direction: rtl;
}

.two-col--reverse > * {
    direction: ltr;
}

.two-col__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.two-col__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.two-col__content h2 {
    margin-bottom: 20px;
}

.two-col__content h3 {
    margin-bottom: 16px;
}

/* --- Scroll Animation --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* --- Text Utilities --- */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.text-green {
    color: var(--color-primary);
}

.green-line {
    display: inline-block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}
