/*
Theme Name: Dvaks Theme
Theme URI: https://dvaks.com
Author: Dvaks
Author URI: https://dvaks.com
Description: Modern Apple-inspired theme for selling guest post links with WooCommerce
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dvaks-theme
Tags: woocommerce, modern, clean, minimal
*/

/* ===========================
   Apple Design System Variables
   =========================== */
:root {
    --primary-color: #0071e3;
    --secondary-color: #0077ed;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --background-secondary: #f5f5f7;
    --border-color: rgba(0, 0, 0, 0.1);
    --success-color: #34c759;
    --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --border-radius: 18px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

/* ===========================
   Global Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-system);
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-primary);
    background-color: #fbfbfd;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a:hover {
    opacity: 0.8;
}

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

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.1;
    margin-bottom: 0.8em;
}

h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

h2 {
    font-size: 48px;
    font-weight: 600;
}

h3 {
    font-size: 32px;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

/* ===========================
   Layout
   =========================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
}

.site-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* ===========================
   Buttons
   =========================== */
.button,
button,
input[type="submit"],
.add-to-cart-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.add-to-cart-button:hover {
    background: var(--secondary-color);
    opacity: 0.9;
    color: white;
}

/* Added/In Cart State */
.add-to-cart-button.added,
.add-to-cart-button.in-cart {
    background: var(--success-color);
    color: white;
    pointer-events: none;
}

.add-to-cart-button.loading {
    opacity: 0.6;
    cursor: wait;
}

/* ===========================
   Cards & Tables
   =========================== */
.card {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

