/*
Theme Name: Custom Dynamic Theme
Theme URI: https://yoursite.com
Description: A custom dynamic WordPress theme with modern design and WooCommerce integration
Author: Your Name
Author URI: https://yoursite.com
Template: twentytwentyfive
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-dynamic
Tags: e-commerce, woocommerce, dynamic, modern
*/

/* Import parent theme styles */
@import url('../twentytwentyfive/style.css');

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ===========================
   CSS Variables & Theme Colors
   =========================== */
:root {
    /* Primary Colors */
    --primary-color: #8B1538;
    --primary-dark: #6B0F2A;
    --primary-light: #A83E5C;
    --secondary-color: #2C2C2C;
    --accent-color: #FF6B9D;

    /* Neutral Colors */
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-white: #FFFFFF;
    --border-color: #E5E5E5;

    /* Typography - Responsive Scaling */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --h1-size: clamp(2.5rem, 8vw, 4rem);
    --h2-size: clamp(2rem, 6vw, 3rem);
    --h3-size: clamp(1.5rem, 4vw, 2.2rem);

    /* Spacing - Responsive Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: clamp(1.5rem, 4vw, 2.5rem);
    --spacing-lg: clamp(2.5rem, 6vw, 4rem);
    --spacing-xl: clamp(4rem, 10vw, 8rem);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===========================
   Global Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    /* Safari, iOS */
    text-size-adjust: 100%;
    /* Chrome 54+, Edge 79+, Samsung Internet */
}

* {
    overflow-wrap: break-word;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    position: relative;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--text-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===========================
   Responsive Utilities
   =========================== */
@media (max-width: 1024px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}