/*
Theme Name:  Vinhomes Saigon Park
Theme URI:   https://vinhome.com.vn/vinhomes-sai-gon-park/
Author:      Blue Group™
Author URI:  https://bluegroup.vn
Description: Theme WordPress chuyên biệt cho dự án Vinhomes Saigon Park Hóc Môn. Thiết kế hiện đại, tối ưu SEO, tương thích với Yoast SEO & RankMath.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License:     GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vinhomes-saigon-park
Tags:        real-estate, one-page, responsive, custom-logo, custom-menu, featured-images, full-width-template
*/

/* === ROOT VARIABLES === */
:root {
    --color-primary:    #1a6b3c;
    --color-secondary:  #2d9e5f;
    --color-gold:       #c9a84c;
    --color-gold-light: #e8c97a;
    --color-dark:       #0d1f13;
    --color-dark-2:     #1c2e20;
    --color-text:       #333333;
    --color-text-light: #666666;
    --color-white:      #ffffff;
    --color-bg-light:   #f7f9f6;
    --color-border:     #e0e8e2;
    --font-primary:     'Montserrat', sans-serif;
    --font-secondary:   'Playfair Display', serif;
    --transition:       all 0.3s ease;
    --shadow-sm:        0 2px 8px rgba(0,0,0,.08);
    --shadow-md:        0 4px 20px rgba(0,0,0,.12);
    --shadow-lg:        0 8px 40px rgba(0,0,0,.18);
    --radius-sm:        6px;
    --radius-md:        12px;
    --radius-lg:        20px;
    --container-max:    1320px;
    --container-pad:    20px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* === CONTAINER === */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    line-height: 1.3;
    color: var(--color-dark);
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--color-text-light); }

/* === SECTION STYLES === */
.section { padding: 80px 0; }
.section--dark { background: var(--color-dark); color: var(--color-white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-white); }
.section--dark p { color: rgba(255,255,255,.75); }
.section--green { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); color: var(--color-white); }
.section--light { background: var(--color-bg-light); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .subtitle {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}
.section-header h2 { position: relative; display: inline-block; margin-bottom: 20px; }
.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 14px auto 0;
    border-radius: 2px;
}
.section--dark .section-header h2 { color: var(--color-white); }
.section-header p { max-width: 700px; margin-inline: auto; font-size: 1.05rem; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .5px;
    transition: var(--transition);
    text-transform: uppercase;
}
.btn-primary {
    background: var(--color-gold);
    color: var(--color-dark);
}
.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,.4);
}
.btn-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}
.btn-green {
    background: var(--color-primary);
    color: var(--color-white);
}
.btn-green:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,107,60,.35);
}

/* === BADGE === */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.badge-gold { background: var(--color-gold); color: var(--color-dark); }
.badge-green { background: var(--color-secondary); color: var(--color-white); }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: 4px; }

/* === SELECTION === */
::selection { background: var(--color-gold); color: var(--color-dark); }

/* === ACCESSIBILITY === */
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.skip-link { position: absolute; top: -40px; left: 6px; z-index: 9999; transition: top .3s; }
.skip-link:focus { top: 6px; }

/* === WORDPRESS REQUIRED === */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; text-align: center; color: var(--color-text-light); }
.sticky { position: relative; }
.gallery-caption { font-size: .85rem; }
