/*
Theme Name: Cherry On Top Moving
Theme URI: https://www.flashaiit.com/
Author: Jaspreet Singh
Author URI: https://www.flashaiit.com/
Description: A lightweight, performance-focused custom WordPress theme built for service-based businesses. Built with clean code, responsive layout, and scalable architecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mdagency
Tags: custom-theme, responsive, service-business, agency, acf-ready, clean-code
*/


/* ===============================
   1. CSS RESET
================================= */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    font-family: 'Montserrat', sans-serif;

}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

ul, ol {
    list-style: none;
    font-family: var(--font-paragraph);
}

a {
    text-decoration: none;
    color: inherit;
    font-family: var(--font-paragraph);
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ===============================
   2. DESIGN SYSTEM VARIABLES
================================= */

:root {

    /* Colors */
    --primary: #e63946;
    --primary-dark: #c71f2d;
    --dark: #111111;
    --gray: #666666;
    --light: #f8f8f8;
    --white: #ffffff;

    /* Typography */
    --font-main: "Montserrat", sans-serif;
    --font-heading: "Montserrat", sans-serif;
    --font-paragraph: "Montserrat", sans-serif;

    /* Font Sizes */
    --fs-h1: 48px;
    --fs-h2: 36px;
    --fs-h3: 24px;
    --fs-body: 16px;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}



/* ===============================
   3. TYPOGRAPHY
================================= */

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
    margin-bottom: 16px;
    color: var(--gray);
    font-family: var(--font-paragraph);
}


/* ===============================
   4. LAYOUT SYSTEM
================================= */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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


/* ===============================
   5. BUTTONS
================================= */

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease;
}

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

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