/*
Theme Name: Anthony Sage
Theme URI: https://anthonysage.com
Author: brian@epiphanet.com
Author URI: https://epiphanet.com/
Description: Theme for AnthonySage.com.
Version: 99.99.99
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-bootstrap-starter
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/


/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */

:root {
  --color-primary: #000068;
  --color-accent: #9E9D94;
  --color-dark: #111;
  --color-body-bg: #282828;
  --color-text: #ddd;
  --color-text-light: #fff;
  --color-white: #fff;
  --font-heading: "Roboto", sans-serif;
  --font-body: "Outfit", sans-serif;
  --navbar-height: 90px;
  --transition-base: 0.3s ease;
}


.text-justify {
    text-align: justify !important;
}

.text-center-justify {
    text-align: justify !important;
    text-align-last: center;
}

h3 {
    font-size: 22px;
}


.alt-home-logo {
    width: 720px;
    max-width: 100%;
    height: auto;
}



.text-justify {
    text-justify: auto;
}


.tony-footer {
    background: linear-gradient(to bottom, #000000 0%, #111212 100%) !important;
}


.footer-brand-title {
    font-weight: 300 !important;
}


.font-weight-light {
    font-weight: 100 !important;
}




.footer-lion {
    width: 50px;
    height: auto !important;
}







.envira-gallery-item.envira-lazy-load .envira-title {
    font-size: 16px !important;
    font-weight: normal !important;
    margin-top: 10px;
}


.h1-page-header {
    font-weight: 100;
    text-align: center;
    font-size: 60px;
    margin-bottom: 50px;
}





.home-lion {
    margin-bottom: 20px;
    width: 100px !important; 
    height: auto;
}







* {
        -webkit-font-smoothing: antialiased;
}


/* ==========================================================================
   Google Fonts (Self-hosted)
   ========================================================================== */
h1.thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100 !important;
}


.lato {
    font-family: "Lato", sans-serif !important;
}


.roboto {
    font-family: "Roboto", sans-serif !important;
}

@font-face {
  font-family: "Roboto";
  src: url("/wp-content/themes/wp-bootstrap-starter/assets/fonts/roboto-thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/wp-content/themes/wp-bootstrap-starter/assets/fonts/roboto-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/wp-content/themes/wp-bootstrap-starter/assets/fonts/roboto-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/wp-content/themes/wp-bootstrap-starter/assets/fonts/roboto-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/wp-content/themes/wp-bootstrap-starter/assets/fonts/lato-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/wp-content/themes/wp-bootstrap-starter/assets/fonts/lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/wp-content/themes/wp-bootstrap-starter/assets/fonts/lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   Base / Global
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-body-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

a:hover {
  color: var(--color-accent);
}

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

.z-1 {
  z-index: 1;
}


/* ==========================================================================
   Navbar / Header
   ========================================================================== */

.site-header {
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  z-index: 1030;
}

.site-header .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--transition-base), padding var(--transition-base);
}

.site-header.scrolled .navbar {
  background-color: rgba(0, 0, 0, 0.95);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-logo {
  max-height: 60px;
  width: auto;
  transition: max-height var(--transition-base);
}

.site-header.scrolled .navbar-logo {
  max-height: 45px;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-white);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    transition: color var(--transition-base);
}






.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--color-white);
}

.navbar-dark .navbar-nav .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width var(--transition-base);
  margin-top: 2px;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.25);
}

.dropdown-menu {
  background-color: #111;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--color-accent);
  color: var(--color-white);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg-fallback {
  background-color: #2c2c2c;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 0;
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 3rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 2px;
  opacity: 0.85;
  margin-top: 1rem;
  animation: fadeInUp 1s 0.3s ease-out both;
}

.hero-btn {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
  border-radius: 0;
  animation: fadeInUp 1s 0.6s ease-out both;
}

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

.btn-primary:hover {
  background-color: #000050;
  border-color: #000050;
}

.scroll-down-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-size: 1.8rem;
  opacity: 0.7;
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 1;
  animation: bounceDown 2s infinite;
}

.scroll-down-arrow:hover {
  opacity: 1;
  color: var(--color-white);
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.stat-card {
  padding: 2rem 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: var(--color-white);
}

.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.5rem;
}


/* ==========================================================================
   Section Headings & Shared Section Styles
   ========================================================================== */

.section-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-primary);
  margin: 1rem auto 0;
}

.text-center .section-heading::after,
.section-heading.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.btn-outline-dark {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 0;
  padding: 0.65rem 2rem;
}

.btn-outline-light {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 0;
  padding: 0.65rem 2rem;
}


/* ==========================================================================
   Intro / About Section
   ========================================================================== */

.intro-section {
  background-color: var(--color-body-bg);
}


/* ==========================================================================
   Portfolio / Gallery Section
   ========================================================================== */

.portfolio-section {
  background-color: var(--color-dark);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transition: padding var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
  padding-bottom: 2.5rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  display: inline-block;
}

.portfolio-title::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width var(--transition-base);
  margin-top: 0.5rem;
}

.portfolio-card:hover .portfolio-title::after {
  width: 100%;
}

.portfolio-placeholder {
  background-color: #222;
  height: 350px;
  display: flex;
  align-items: flex-end;
}


/* ==========================================================================
   Expertise / Services Section
   ========================================================================== */

.expertise-section {
  background-color: var(--color-body-bg);
}

.service-card {
  border: 1px solid #e8e8e8;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  height: 100%;
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}


/* ==========================================================================
   Testimonials Section
   ========================================================================== */



.testimonial-card {
  background: var(--color-white);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text);
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 1rem;
  display: block;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-accent);
  border-radius: 0;
  background-size: 40%;
  padding: 1.5rem;
}

.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.testimonials-section .carousel-control-prev:hover,
.testimonials-section .carousel-control-next:hover {
  opacity: 1;
}


/* ==========================================================================
   CTA / Contact Section
   ========================================================================== */

.cta-section {
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.cta-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.cta-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  font-family: var(--font-body);
}

.footer-logo {
  max-height: 50px;
  width: auto;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-base);
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-contact {
  font-size: 0.9rem;
}

.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.back-to-top {
  border-radius: 0;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
}


/* ==========================================================================
   YouTube Video Container
   ========================================================================== */

.youtube-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.youtube-video-container iframe,
.youtube-video-container object,
.youtube-video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ==========================================================================
   WordPress Defaults
   ========================================================================== */

.wp-caption {
  max-width: 100%;
}

.wp-caption img {
  display: block;
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}


h1, h2, h3 {
    font-weight: 300;
}

h3 {
    margin-top: 50px;
}










    #hero.hero-section {
        position: relative;
        text-align: center;
        color: #fff;
        padding: 40px 0 30px;
        overflow: hidden;
    }

#hero .hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;   /* 🔥 remove constraint */
    margin: 0;
    padding-left: 0;   /* remove Bootstrap gutter */
    padding-right: 0;
}

    #hero .home-lion {
        width: clamp(70px, 10vw, 120px);
        height: auto;
        display: block;
        margin: 0 auto 14px;
    }

#hero .hero-heading {
    margin: 0;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 100;
    font-size: clamp(2rem, 6vw, 5rem);
    max-width: 100%;
    padding: 0 12px;
    word-break: keep-all;
    
}

    #hero .hero-sub {
        margin-top: 0px;
        margin-bottom: 0;
        font-size: clamp(1rem, 2vw, 1.35rem);
        letter-spacing: 0.08em;
    }

#hero .hero-actions {
    margin-top: 40px;
}

    #hero .hero-btn {
        min-width: 180px;
    }

#hero .hero-town-img {
    width: 100%;        /* full bleed */
    max-width: none;    /* remove cap */
    height: auto;
    display: block;
    margin: 30px 0 0;  /* no auto centering */
}

    @media (max-width: 767.98px) {
        #hero.hero-section {
            padding-top: 24px;
        }

        #hero .hero-heading {
            letter-spacing: 0.04em;
            padding: 0 8px;
        }

        #hero .hero-sub {
            padding: 0 12px;
        }

        #hero .hero-town-img {
            width: 96%;
            margin-top: 16px;
        }
    }








.footer-text {
    width: 390px;
    margin: auto;
    text-align: justify;
}





.town-country-grid {
    display: inline-flex;
    width: 83%;
    margin: 0;
    margin-top: 30px;
    padding: 0 10px;
    gap: 20px;
    text-decoration: none;
}

.town-country-card {
    position: relative !important; /* critical */
    width: 50%;
    overflow: hidden;
}

.town-country-card img {
    display: block;
    width: 100%;
    height: 28vw;
    object-fit: cover;
}

/* overlay */
.town-country-label {
    position: absolute !important; /* critical */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; /* force above image */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.town-country-label h3 {
    margin: 0;
    color: #fff !important;
    font-size:  40px;
    letter-spacing: 0.08em;
    font-weight: 100;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* mobile */
@media (max-width: 767.98px) {
    .town-country-grid {
        flex-direction: column;
    }

    .town-country-card {
        width: 100%;
    }

    .town-country-card img {
        height: 70vw;
    }
}





.tony-footer {
    background: linear-gradient(to bottom, #000 0%, #141516 100%);
}

.tony-footer .container {
    max-width: 100%;
    padding-left: 28px;
    padding-right: 28px;
}

.tony-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.footer-lion {
    height: 50px !important;
    width: auto;
    display: block;
    flex: 0 0 auto;
}

.footer-brand-title {
    margin: 0;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.08em;
    line-height: 1.1;
    white-space: nowrap;
}

.contact-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

.contact-link i {
    line-height: 1;
}

.contact-license {
    margin-top: 10px;
    color: rgba(255,255,255,0.48);
    letter-spacing: 0.08em;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .tony-footer .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .tony-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-brand-title {
        white-space: normal;
    }

    .contact-block {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .contact-row {
        justify-content: flex-start;
        gap: 16px;
    }

    .contact-license {
        white-space: normal;
    }
}





img.home-town-country {
    width: auto !important;
    height: 30px !important;
    opacity: .6;
}




/* ==========================================================================
   Responsive: Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.5rem;
    letter-spacing: 8px;
  }

  .hero-sub {
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .section-heading {
    font-size: 2.2rem;
  }

  .portfolio-card {
    height: 400px;
  }

  .cta-heading {
    font-size: 2.5rem;
  }
}


/* ==========================================================================
   Responsive: Desktop (992px+)
   ========================================================================== */

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero-heading {
font-size: 40px !important;
        letter-spacing: 3px;

  }

  .stat-number {
    font-size: 3.5rem;
  }

  .portfolio-card {
    height: 450px;
  }
}


/* ==========================================================================
   Responsive: Large Desktop (1200px+)
   ========================================================================== */

@media (min-width: 1200px) {
  .hero-heading {
    font-size: 4.5rem;
  }

  .section-heading {
    font-size: 2.5rem;
  }
}


/* ==========================================================================
   Responsive: Mobile (max-width 767px)
   ========================================================================== */

@media (max-width: 767.98px) {
  :root {
    --navbar-height: 70px;
  }


  #colophon .text-end {
    text-align: left !important;
  }



.home-lion {
    width: 80px; 
    height: auto;
}



  .navbar-logo {
    max-height: 45px;
  }

  .brand-text {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .hero-heading {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  .hero-sub {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }

  .hero-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
  }

  .section-heading {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .portfolio-card {
    height: 250px;
  }

  .service-card {
    padding: 1.5rem !important;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .cta-heading {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .cta-sub {
    font-size: 0.95rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    margin-top: 0.5rem;
  }
}


/* ==========================================================================
   Responsive: Small Mobile (max-width 575px)
   ========================================================================== */

@media (max-width: 575.98px) {
  .hero-heading {
    font-size: 1.6rem;
    letter-spacing: 3px;
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .portfolio-card {
    height: 200px;
  }

  .cta-section {
    min-height: 50vh;
  }
}


/* ==========================================================================
   Inner-page headings — match the homepage hero title styling.
   Cormorant Garamond is loaded in header.php; the homepage uses
   header-homepage.php which loads it inline.
   ========================================================================== */

h2,
h3,
h4,
h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}


/* ==========================================================================
   Homepage Carolwood template
   Scoped to .page-template-page-homepage so these rules only apply on the
   homepage (page-homepage.php / get_header('homepage')). Previously inline
   in header-homepage.php.
   ========================================================================== */

.page-template-page-homepage .bg-blur {
    backdrop-filter: blur(10px) !important;
}

.page-template-page-homepage,
.page-template-page-homepage *,
.page-template-page-homepage *::before,
.page-template-page-homepage *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-template-page-homepage {
    height: 100%;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    background: #1a1f1a;
    -webkit-font-smoothing: antialiased;
}

.page-template-page-homepage a {
    color: inherit;
    text-decoration: none;
}

.page-template-page-homepage button {
    font-family: inherit;
}

/* ---------- HERO ---------- */
.page-template-page-homepage .hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    background-image: url('/test/20acres.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-template-page-homepage .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.15) 35%,
        rgba(0,0,0,0.25) 70%,
        rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

/* ---------- HEADER ---------- */
.page-template-page-homepage .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.page-template-page-homepage .logo,
.page-template-page-homepage .logo:hover,
.page-template-page-homepage .logo:focus {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    line-height: 1;
    color: #fff;
}

.page-template-page-homepage .logo-main {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    padding-left: 0.25em;
}

.page-template-page-homepage .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    margin-top: 0.5rem;
    padding-left: 0.45em;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.page-template-page-homepage .nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transform: translateY(20px);
}

.page-template-page-homepage .icon-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s;
}

.page-template-page-homepage .icon-btn:hover { opacity: 0.7; }

.page-template-page-homepage .icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.25;
}

.page-template-page-homepage .contact-btn {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.9);
    padding: 0.85rem 1.75rem;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    font-weight: 400;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    text-transform: uppercase;
}

.page-template-page-homepage .contact-btn:hover {
    background: #fff;
    color: #1a1f1a;
}

.page-template-page-homepage .menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
}

.page-template-page-homepage .menu-toggle span {
    display: block;
    height: 1px;
    background: #fff;
    width: 100%;
    transition: transform 0.3s, opacity 0.3s;
}

.page-template-page-homepage .menu-toggle span:nth-child(2) { width: 75%; align-self: flex-end; }

/* ---------- HERO CONTENT ---------- */
.page-template-page-homepage .hero-content {
    position: absolute;
    bottom: 14%;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 0 2rem;
    text-align: center;
}

.page-template-page-homepage .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.page-template-page-homepage .hero-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 700px;
    margin: 0 auto 3.25rem;
    line-height: 1.6;
}

/* ---------- STATS ---------- */
.page-template-page-homepage .stats {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-template-page-homepage .stat {
    flex: 1;
    padding: 0 2rem;
    min-width: 0;
    padding-bottom: 8px;
}

.page-template-page-homepage .stat + .stat {
    border-left: 1px solid rgba(255,255,255,0.4);
}

.page-template-page-homepage .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.page-template-page-homepage .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.95;
}

/* ---------- DOWN ARROW ---------- */
.page-template-page-homepage .scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    animation: bob 2.4s ease-in-out infinite;
}

.page-template-page-homepage .scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.25;
}

@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- MENU OVERLAY ---------- */
.page-template-page-homepage .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(40,40,40, 0.96);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-template-page-homepage .menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page-template-page-homepage .menu-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 32px;
    height: 32px;
}

.page-template-page-homepage .menu-close::before,
.page-template-page-homepage .menu-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 1px;
    background: #fff;
}

.page-template-page-homepage .menu-close::before { transform: rotate(45deg); }
.page-template-page-homepage .menu-close::after  { transform: rotate(-45deg); }

.page-template-page-homepage .menu-list {
    list-style: none;
    text-align: center;
}

.page-template-page-homepage .menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-template-page-homepage .menu-overlay.active .menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.page-template-page-homepage .menu-overlay.active .menu-list li:nth-child(1) { transition-delay: 0.15s; }
.page-template-page-homepage .menu-overlay.active .menu-list li:nth-child(2) { transition-delay: 0.22s; }
.page-template-page-homepage .menu-overlay.active .menu-list li:nth-child(3) { transition-delay: 0.29s; }
.page-template-page-homepage .menu-overlay.active .menu-list li:nth-child(4) { transition-delay: 0.36s; }
.page-template-page-homepage .menu-overlay.active .menu-list li:nth-child(5) { transition-delay: 0.43s; }

.page-template-page-homepage .menu-list a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
    transition: opacity 0.25s;
}

.page-template-page-homepage .menu-list a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease, left 0.3s ease;
}

.page-template-page-homepage .menu-list a:hover::after {
    width: 100%;
    left: 0;
}

.page-template-page-homepage .menu-footer {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.6;
}

.page-template-page-homepage.menu-open { overflow: hidden; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .page-template-page-homepage .header {
        padding: 1.25rem 1.25rem;
    }

    .page-template-page-homepage .logo-main { font-size: 1.25rem; letter-spacing: 0.22em; }
    .page-template-page-homepage .logo-sub  { font-size: 0.55rem; margin-top: 0.35rem; }

    .page-template-page-homepage .nav-right { gap: 0.5rem; }

    .page-template-page-homepage .icon-btn.search { display: none; }

    .page-template-page-homepage .contact-btn {
        padding: 0.65rem 1rem;
        font-size: 0.6rem;
        letter-spacing: 0.18em;
    }

    .page-template-page-homepage .hero-content {
        bottom: 8%;
        padding: 0 1.5rem;
    }

    .page-template-page-homepage .hero-title {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .page-template-page-homepage .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }

    .page-template-page-homepage .stats {
        max-width: 340px;
    }

    .page-template-page-homepage .stat {
        padding: 0 0.75rem;
    }

    .page-template-page-homepage .stat-number { font-size: 1.75rem; }
    .page-template-page-homepage .stat-label  { font-size: 0.55rem; letter-spacing: 0.15em; }

    .page-template-page-homepage .menu-close { top: 1.25rem; right: 1.25rem; }

    .page-template-page-homepage .menu-list a {
        font-size: 1.75rem;
        letter-spacing: 0.1em;
    }

    .page-template-page-homepage .menu-list li { margin: 1rem 0; }
}

@media (max-width: 380px) {
    .page-template-page-homepage .stat { padding: 0 0.5rem; }
    .page-template-page-homepage .stat-number { font-size: 1.5rem; }
}
