/* Custom Styles (project-specific) */

body {
    position: relative;
    min-height: 100vh;
    font-family: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

.text-shadow {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

main {
    overflow-x: hidden;
}

/* Image hover effects */
.img-box {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.img-box:hover {
    transform: scale(1.02);
}

.img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(156, 175, 136, 0.1);
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    transition: background-color 0.3s ease;
}

.img-box:hover::after {
    background-color: rgba(156, 175, 136, 0.2);
}

.img {
    position: relative;
    z-index: 0;
    transition: transform 0.3s ease;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

.hero-image img {

}

/* ------------------------------------------------------------
   Article / long-form typography (used for markdown content)
   ------------------------------------------------------------ */
.article-content {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    font-size: 16px;
}

.article-content.article-content--light {
    color: rgba(17, 24, 39, 0.92); /* neutral-900-ish */
}

.article-content > * + * {
    margin-top: 1rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-content.article-content--light h1,
.article-content.article-content--light h2,
.article-content.article-content--light h3,
.article-content.article-content--light h4 {
    color: #111827;
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content h4 { font-size: 1.125rem; }

.article-content p {
    margin: 0.9rem 0;
}

.article-content strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.article-content.article-content--light strong {
    color: rgba(17, 24, 39, 0.98);
}

.article-content a {
    color: var(--color-brand-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover {
    color: #ffffff;
}

.article-content.article-content--light a:hover {
    color: #111827;
}

.article-content ul,
.article-content ol {
    margin: 0.9rem 0 0.9rem 1.25rem;
    padding: 0;
}
.article-content li + li {
    margin-top: 0.5rem;
}

.article-content hr {
    border: 0;
    height: 1px;
    background: rgba(221, 221, 221, 0.25);
    margin: 1.5rem 0;
}

.article-content.article-content--light hr {
    background: rgba(17, 24, 39, 0.12);
}

.article-content blockquote {
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid rgba(222, 173, 121, 0.7);
    background: rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.article-content.article-content--light blockquote {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(17, 24, 39, 0.9);
    border-left-color: rgba(222, 173, 121, 0.8);
}

.article-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95em;
    padding: 0.15em 0.35em;
    border-radius: 0.35rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content.article-content--light code {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #EAE5E1;
}

::-webkit-scrollbar-thumb {
    background: #61644F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #CFC5B8;
}

/* Custom animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Button hover effects */
.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(97, 100, 79, 0.3);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(97, 100, 79, 0.15);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #61644F 0%, #3F4D59 50%, #965939 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section spacing */
.section-padding {
    padding: 5rem 0;
}

/* NOTE:
   container-custom is defined in Tailwind (src/assets/css/tailwind.css).
   Keeping another .container-custom here overrides Tailwind utilities like p-4 due to CSS load order.
*/

/* Responsive typography */
@media (max-width: 768px) {
    .text-responsive {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .text-responsive {
        font-size: 2rem;
    }
}

.cta-button:hover::before {
    left: 100%;
}



.home-service-card {
    min-height: 400px;
}

.service-card-description {
    background: linear-gradient(to top, rgb(38, 38, 39), rgba(38, 38, 39, 1), rgba(0, 0, 0, 0));
    border-radius: 0 0 10px 10px;
    color: #e1e1e1;
    font-size: 0.8em;
    display: flex;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-card-description h3 {
    font-size: 1.4em;
    font-weight: 500;
    color: #ffffff;
}

.service-card-button {
    /* width: 100%;
    text-align: center;
    margin-top: 10px;
    background-color: #F5F5DC;
    text-shadow: none;
    border: none;
    color: #262627; */
}

.home-product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #CFC5B8;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-button a {

    
}


.drag-scroll {
  cursor: grab;
}
.drag-scroll:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .custom-scrollbar::-webkit-scrollbar {
    display: none;
  }
}

/* Text animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.home-gallery-container .swiper-slide-thumb-active {
    border: 2px solid #9CAF88;
}



.stylish-quote p {
    position: relative;
}

.benefit-icon-wrapper.is-active .benefit-tooltip,
.benefit-icon-wrapper:hover .benefit-tooltip {
    opacity: 1;
    visibility: visible;
}

.cta-glassy-container {
    background: rgba(255, 255, 255, 0.7);

    border-radius: 30px;
}

.home-cta-buttons-ct .btn-primary:hover img,
.home-cta-buttons-ct .btn-secondary:hover img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Burger menu animation */
#mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu accordion */
.mobile-accordion-toggle svg {
    transition: transform 0.2s ease-in-out;
}

.mobile-accordion-content {
    transition: max-height 0.3s ease-in-out;
}

/* Hide scrollbars in mobile menu */
#mobile-menu {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

#mobile-menu::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

#mobile-menu .flex-1 {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

#mobile-menu .flex-1::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

#mobile-menu > div {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

#mobile-menu > div::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Custom 800px breakpoint for menu */
.desktop-nav {
    display: none;
}

.mobile-burger {
    display: flex;
}

.mobile-menu {
    display: block;
}

.header-cta {
    display: none;
}

@media (min-width: 800px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-burger {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .header-cta {
        display: inline-block;
    }
}



/* Hero height stabilization to avoid URL-bar stretch on mobile */
.hero-section {
    height: var(--hero-h, 100svh);
    min-height: var(--hero-h, 100svh);
    max-height: none;
}

@supports (height: 100dvh) {
    .hero-section {
        height: var(--hero-h, 100dvh);
        min-height: var(--hero-h, 100dvh);
    }
}



/* Hide scrollbar but keep scrolling functionality */
.scrollbar-hide {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}



/* Header custom styling */
header.header-custom {
    background-color: #1F1F1F;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #666666, #2A2A2A) 1;
}