/*
Theme Name: BuyReviewz
Theme URI: https://buyreviewz.com
Description: A professional WordPress theme for BuyReviewz - Google Reviews & Reputation Management
Version: 1.0.0
Author: BuyReviewz Team
Author URI: https://buyreviewz.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buyreviewz
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

:root {
    --primary-color: #4663ac;
    --secondary-color: #e1f1fd;
    --dark-color: #000;
    --grey-color: #f6f6f6;
    --text-dark: #212529;
    --text-light: #666;
    --border-color: #ddd;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.15rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3a5290;
    text-decoration: underline;
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */

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

.img-fluid {
    max-width: 100%;
    height: auto;
}

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

/* ============================================
   CONTAINERS & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12,
.col-md-6,
.col-lg-8,
.col-lg-4 {
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-8 {
        width: 66.666%;
    }

    .col-lg-4 {
        width: 33.333%;
    }
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #3a5290;
    color: #fff;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #3a5290;
}

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

.btn-secondary:hover {
    background-color: #d0e8f7;
    color: var(--primary-color);
}

/* ============================================
   FORMS
   ============================================ */

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(70, 99, 172, 0.2);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================
   UTILITIES
   ============================================ */

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

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

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.pt-3 {
    padding-top: 1.5rem;
}

.pt-4 {
    padding-top: 2rem;
}

.p-0 {
    padding: 0;
}

.d-flex {
    display: flex;
}

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

.justify-content-center {
    justify-content: center;
}

.d-grid {
    display: grid;
}

.gap-3 {
    gap: 1.5rem;
}

/* ============================================
   VISIBILITY & DISPLAY
   ============================================ */

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--grey-color);
    font-weight: 600;
}

tr:hover {
    background-color: rgba(70, 99, 172, 0.05);
}

/* ============================================
   CODE & BLOCKS
   ============================================ */

code {
    background-color: var(--grey-color);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

pre {
    background-color: var(--grey-color);
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 2rem;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 2rem 0;
    background-color: rgba(70, 99, 172, 0.05);
}

/* ============================================
   LISTS
   ============================================ */

ul,
ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */

.wp-block-image {
    margin: 2rem 0;
}

.wp-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 1rem 0;
}

.wp-smiley {
    margin: 0 !important;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .col-12,
    .col-md-6,
    .col-lg-8,
    .col-lg-4 {
        width: 100%;
    }

    .container {
        padding: 0 10px;
    }

    .row {
        margin: 0 -10px;
    }

    .row > [class*='col-'] {
        padding: 0 10px;
    }
}
