
/*
Theme Name: Bhashyam Ventures
Theme URI: https://bhashyamventures.com/
Author: Bhashyam Ventures
Author URI: https://bhashyamventures.com/
Description: Custom premium real estate WordPress theme for Bhashyam Ventures.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bhashyam-ventures
*/


/* =========================================================
   BHASHYAM VENTURES
   GLOBAL DESIGN SYSTEM
   ========================================================= */


/* =========================================================
   01. BRAND VARIABLES
   ========================================================= */

:root {
    --bv-burgundy: #780105;
    --bv-deep-wine: #4A0205;

    --bv-gold: #F2B705;
    --bv-gold-light: #FCE21C;

    --bv-ivory: #FAF8F2;
    --bv-white: #FFFFFF;

    --bv-charcoal: #292929;
    --bv-muted-gray: #6B6B6B;

    --bv-border: #E5DED1;

    /* Updated system font stack */
    --bv-heading-font:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Helvetica Neue",
        Arial,
        sans-serif;

    --bv-body-font:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Text",
        "SF Pro Display",
        "Helvetica Neue",
        Arial,
        sans-serif;

    --bv-container: 1200px;
    --bv-container-wide: 1320px;

    --bv-transition: 0.25s ease;

    --bv-shadow-soft: 0 8px 30px rgba(74, 2, 5, 0.08);
    --bv-shadow-card: 0 10px 35px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   02. RESET
   ========================================================= */

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

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bv-ivory);
    color: var(--bv-charcoal);

    font-family: var(--bv-body-font);
    font-size: 16px;
    line-height: 1.7;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font-family: var(--bv-body-font);
}

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

button {
    cursor: pointer;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
    margin-bottom: 18px;
}

ul,
ol {
    margin-top: 0;
}

figure {
    margin: 0;
}


/* =========================================================
   03. ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--bv-gold);
    outline-offset: 3px;
}

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

.screen-reader-text:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100000;

    width: auto;
    height: auto;

    padding: 12px 18px;
    margin: 0;

    overflow: visible;
    clip: auto;
    white-space: normal;

    background: var(--bv-white);
    color: var(--bv-charcoal);

    box-shadow: var(--bv-shadow-soft);
}


/* =========================================================
   04. GLOBAL CONTAINER
   ========================================================= */

.bv-container {
    width: min(1200px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.bv-container-wide {
    width: min(1320px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   05. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--bv-burgundy);

    font-family: var(--bv-heading-font);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(42px, 5vw, 64px);
}

h2 {
    font-size: clamp(34px, 4vw, 48px);
}

h3 {
    font-size: clamp(26px, 3vw, 34px);
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

strong {
    font-weight: 700;
}


/* =========================================================
   06. BUTTON SYSTEM
   ========================================================= */

.bv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;

    padding: 13px 24px;

    border: 1px solid transparent;
    border-radius: 6px;

    font-family: var(--bv-body-font);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;

    transition:
        transform var(--bv-transition),
        background-color var(--bv-transition),
        color var(--bv-transition),
        border-color var(--bv-transition),
        box-shadow var(--bv-transition);
}

.bv-button:hover {
    transform: translateY(-2px);
}

.bv-button--primary {
    background: var(--bv-burgundy);
    color: var(--bv-white);
    box-shadow: 0 8px 20px rgba(120, 1, 5, 0.16);
}

.bv-button--primary:hover {
    background: var(--bv-deep-wine);
    color: var(--bv-white);
}

.bv-button--gold {
    background: var(--bv-gold);
    color: var(--bv-deep-wine);
}

.bv-button--gold:hover {
    background: var(--bv-gold-light);
    color: var(--bv-deep-wine);
}

.bv-button--outline {
    background: transparent;
    color: var(--bv-burgundy);
    border-color: var(--bv-burgundy);
}

.bv-button--outline:hover {
    background: var(--bv-burgundy);
    color: var(--bv-white);
}


/* =========================================================
   07. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;

    background: var(--bv-ivory);

    border-bottom: 1px solid rgba(74, 2, 5, 0.12);

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}


/* WORDPRESS ADMIN BAR */

.admin-bar .site-header {
    top: 32px;
}


/* =========================================================
   HEADER INNER
   ========================================================= */

.site-header__inner {
    width: 100%;
    max-width: 1400px;

    min-height: 96px;

    margin: 0 auto;
    padding: 0 32px;

    display: flex;
    align-items: center;

    gap: 35px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-branding {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
}

.site-branding__logo {
    display: flex;
    align-items: center;
}

.site-branding__logo .custom-logo {
    display: block;

    width: auto;
    max-width: 145px;
    max-height: 78px;

    object-fit: contain;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    display: block;

    width: auto;
    max-width: 145px;
    max-height: 78px;

    object-fit: contain;
}


/* FALLBACK TEXT LOGO */

.site-branding__text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.site-branding__name {
    color: var(--bv-burgundy);

    font-family: var(--bv-heading-font);
    font-size: 27px;
    font-weight: 600;

    letter-spacing: 0.04em;
}

.site-branding__ventures {
    margin-top: 5px;

    color: var(--bv-charcoal);

    font-family: var(--bv-heading-font);
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.20em;
    text-align: center;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.primary-navigation {
    margin-left: auto;
}

.primary-navigation ul,
.primary-navigation .primary-menu {
    display: flex;
    align-items: center;

    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.primary-navigation li {
    margin: 0;
    padding: 0;
}

.primary-navigation a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 12px 0;

    color: var(--bv-charcoal);

    font-family: var(--bv-body-font);
    font-size: 15px;
    font-weight: 600;

    line-height: 1.4;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.primary-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 3px;

    width: 0;
    height: 2px;

    background: var(--bv-burgundy);

    transition: width 0.25s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
    color: var(--bv-burgundy);
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after {
    width: 100%;
}


/* =========================================================
   HEADER CTA
   ========================================================= */

.header-cta {
    flex: 0 0 auto;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 50px;

    padding: 0 22px;

    background: var(--bv-gold);
    color: var(--bv-deep-wine) !important;

    border: 1px solid var(--bv-gold);
    border-radius: 6px;

    font-family: var(--bv-body-font);
    font-size: 13px;
    font-weight: 800;

    line-height: 1;

    white-space: nowrap;

    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.header-cta:hover {
    background: var(--bv-gold-light);
    color: var(--bv-deep-wine) !important;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.header-cta__text {
    display: inline-block;
}

.header-cta__arrow {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    flex: 0 0 auto;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 1px solid rgba(120, 1, 5, 0.25);
    border-radius: 5px;

    background: transparent;
    color: var(--bv-burgundy);
}

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 5px auto;

    background: var(--bv-burgundy);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1),
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2),
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3),
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MAIN
   ========================================================= */

.site-main {
    width: 100%;
    min-height: 40vh;
}


/* =========================================================
   TEMPORARY HOMEPAGE
   ========================================================= */

.bv-homepage {
    overflow: hidden;
}

.bv-homepage .bv-section {
    padding: 100px 0;
}

.bv-homepage .bv-hero {
    padding: 110px 0 100px;

    background: var(--bv-ivory);
}

.bv-homepage .bv-hero__content {
    max-width: 900px;
    margin: 0 auto;

    text-align: center;
}

.bv-homepage .bv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    color: var(--bv-burgundy);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bv-homepage .bv-eyebrow::before,
.bv-homepage .bv-eyebrow::after {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--bv-gold);
}

.bv-homepage .bv-hero__title {
    margin: 0;

    color: var(--bv-deep-wine);

    font-family: var(--bv-heading-font);
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 600;

    line-height: 1;
    letter-spacing: -0.035em;
}

.bv-homepage .bv-hero__title span {
    color: var(--bv-burgundy);
}

.bv-homepage .bv-hero__description {
    max-width: 680px;

    margin: 28px auto 0;

    color: var(--bv-muted-gray);

    font-size: 16px;
    line-height: 1.8;
}

.bv-homepage .bv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 14px;

    margin-top: 35px;
}


/* =========================================================
   TEMPORARY HOME SECTIONS
   ========================================================= */

.bv-section-heading {
    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}

.bv-section-heading .bv-eyebrow {
    margin-bottom: 14px;
}

.bv-section-heading h2 {
    margin: 0;

    color: var(--bv-deep-wine);

    font-family: var(--bv-heading-font);
    font-size: clamp(38px, 4vw, 55px);
    line-height: 1.08;
}

.bv-section-heading p {
    max-width: 650px;

    margin: 20px auto 0;

    color: var(--bv-muted-gray);

    font-size: 15px;
}


/* =========================================================
   SIMPLE CONTENT BLOCK
   ========================================================= */

.bv-content-block {
    max-width: 900px;
    margin: 0 auto;
}

.bv-content-block p {
    color: var(--bv-muted-gray);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--bv-deep-wine);
    color: var(--bv-white);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: var(--bv-white);
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

.site-footer__grid {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        1fr
        1fr;

    gap: 65px;

    padding: 75px 0 65px;
}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.site-footer__logo {
    display: block;

    margin-bottom: 25px;

    overflow: visible;
}

.site-footer__logo img,
.site-footer__logo .custom-logo {
    display: block;

    width: auto;

    max-width: 145px;
    max-height: 82px;

    object-fit: contain;
}

.site-footer__description {
    max-width: 390px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.site-footer__column h3 {
    margin: 0 0 27px;

    color: var(--bv-gold);

    font-family: var(--bv-body-font);
    font-size: 15px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer__column li {
    margin: 0 0 15px;
    padding: 0;
}

.site-footer__column a {
    color: rgba(255, 255, 255, 0.82);

    font-size: 14px;

    line-height: 1.5;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.site-footer__column a:hover {
    color: var(--bv-gold);

    padding-left: 4px;
}


/* =========================================================
   FOOTER CONTACT
   ========================================================= */

.footer-contact-item {
    margin-bottom: 20px;
}

.footer-contact-item strong {
    display: block;

    margin-bottom: 5px;

    color: var(--bv-white);

    font-size: 14px;
    font-weight: 800;
}

.footer-contact-item a,
.footer-contact-item span {
    display: block;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-item a:hover {
    color: var(--bv-gold);
}


/* =========================================================
   FOOTER CTA
   ========================================================= */

.footer-cta {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 15px;

    min-height: 52px;

    padding: 0 22px;

    background: var(--bv-gold);

    border: 1px solid var(--bv-gold);
    border-radius: 6px;

    color: var(--bv-deep-wine) !important;

    font-family: var(--bv-body-font);
    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-cta:hover {
    background: var(--bv-gold-light);

    border-color: var(--bv-gold-light);

    color: var(--bv-deep-wine) !important;

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__bottom-inner {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.site-footer__bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
}

.site-footer__legal {
    display: flex;
    align-items: center;

    gap: 25px;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;

    transition: color 0.25s ease;
}

.site-footer__legal a:hover {
    color: var(--bv-gold);
}


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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;

    min-height: 48px;

    padding: 12px 14px;

    background: var(--bv-white);
    color: var(--bv-charcoal);

    border: 1px solid var(--bv-border);
    border-radius: 6px;

    outline: none;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--bv-burgundy);

    box-shadow: 0 0 0 3px rgba(120, 1, 5, 0.08);
}

label {
    display: block;

    margin-bottom: 7px;

    color: var(--bv-charcoal);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   UTILITY
   ========================================================= */

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bv-width-narrow {
    max-width: 760px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-header__inner {
        padding-left: 24px;
        padding-right: 24px;
        gap: 22px;
    }

    .primary-navigation ul,
    .primary-navigation .primary-menu {
        gap: 22px;
    }

    .primary-navigation a {
        font-size: 14px;
    }

    .header-cta {
        padding: 0 16px;
        font-size: 12px;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 40px;
    }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

    .admin-bar .site-header {
        top: 46px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .site-header__inner {
        min-height: 76px;
        padding: 0 20px;
    }

    .site-branding__logo .custom-logo,
    .custom-logo {
        max-width: 120px;
        max-height: 60px;
    }

    .menu-toggle {
        display: block;

        position: relative;
        z-index: 10001;
    }

    .primary-navigation {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        margin: 0;

        background: var(--bv-ivory);

        border-top: 1px solid rgba(74, 2, 5, 0.10);
        border-bottom: 1px solid rgba(74, 2, 5, 0.12);

        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);

        max-height: calc(100vh - 76px);

        overflow-y: auto;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul,
    .primary-navigation .primary-menu {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px 20px 20px;
    }

    .primary-navigation li {
        width: 100%;
    }

    .primary-navigation a {
        display: flex;

        width: 100%;

        padding: 15px 4px;

        font-size: 15px;
    }

    .primary-navigation a::after {
        display: none;
    }

    .header-cta {
        display: none !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .bv-container {
        width: calc(100% - 32px);
    }

    .site-header__inner {
        min-height: 72px;
        padding: 0 16px;
    }

    .bv-homepage .bv-section {
        padding: 70px 0;
    }

    .bv-homepage .bv-hero {
        padding: 70px 0;
    }

    .bv-homepage .bv-hero__title {
        font-size: clamp(42px, 12vw, 62px);
    }

    .bv-homepage .bv-hero__description {
        font-size: 14px;
    }

    .bv-homepage .bv-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bv-homepage .bv-hero__actions .bv-button {
        width: 100%;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;

        gap: 42px;

        padding: 55px 0 45px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;

        align-items: flex-start;
        justify-content: center;

        gap: 12px;

        padding: 20px 0;
    }

    .site-footer__legal {
        gap: 18px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 15px;
    }

    .site-branding__logo .custom-logo,
    .custom-logo {
        max-width: 108px;
        max-height: 54px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .bv-homepage .bv-hero {
        padding: 60px 0;
    }

    .bv-homepage .bv-hero__title {
        font-size: 42px;
    }

    .bv-section-heading h2 {
        font-size: 36px;
    }

    .site-footer__legal {
        flex-wrap: wrap;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}