/* ========================================
THEME VARIABLES
Central color control
======================================== */

:root {

--primary-color: #ff4b6e;
--primary-hover: #e63c5d;

--secondary-color: #333;
--secondary-hover: #222;

--background-color: #fafafa;
--white: #ffffff;

--text-color: #333;
--text-light: #666;

--border-color: #e5e5e5;

--container-width: 1200px;

}

/* ========================================
GLOBAL RESET
======================================== */

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

/* ========================================
BODY
======================================== */

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

/* ========================================
CONTAINER
======================================== */

.container {
width: 90%;
max-width: var(--container-width);
margin: auto;
}

/* ========================================
HEADINGS
======================================== */

h1, h2, h3, h4 {
margin-bottom: 10px;
font-weight: 600;
color: var(--text-color);
}

h1 {
font-size: 42px;
}

h2 {
font-size: 32px;
}

h3 {
font-size: 22px;
}

/* ========================================
PARAGRAPHS
======================================== */

p {
margin-bottom: 15px;
color: var(--text-light);
}

/* ========================================
LINKS
======================================== */

a {
text-decoration: none;
color: inherit;
}

/* ========================================
BUTTONS
======================================== */

.btn-primary {
background: var(--primary-color);
color: var(--white);
padding: 12px 26px;
border-radius: 6px;
display: inline-block;
font-weight: 500;
transition: 0.3s;
}

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

.btn-secondary {
background: var(--secondary-color);
color: var(--white);
padding: 10px 20px;
border-radius: 6px;
display: inline-block;
}

.btn-secondary:hover {
background: var(--secondary-hover);
}

/* ========================================
IMAGES
======================================== */

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

/* ========================================
SECTION SPACING
======================================== */

section {
padding: 80px 0;
}

/* ========================================
GRID SYSTEM
======================================== */

.grid {
display: grid;
gap: 20px;
}

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

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

/* ========================================
UTILITY CLASSES
======================================== */

.text-center {
text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* ========================================
NAVIGATION BASE STYLE
======================================== */

nav {
display: flex;
align-items: center;
gap: 20px;
}

nav a {
font-weight: 500;
color: var(--text-color);
}

/* ========================================
RESPONSIVE
======================================== */

@media (max-width: 768px) {

h1 {
font-size: 32px;
}

h2 {
font-size: 26px;
}

.grid-2,
.grid-3 {
grid-template-columns: 1fr;
}

nav {
flex-direction: column;
gap: 10px;
}

section {
padding: 60px 0;
}

}