/*
Theme Name: Luxury Twenty Twenty-Five Pro
Theme URI: https://wordpress.org/themes/twentytwentyfive
Author: ChiemInn Media
Description: A child theme of Twenty Twenty-Five matching the Next.js design.
Version: 1.0.0
Template: twentytwentyfive
*/

/* Custom CSS from Globals */
:root {
    --background: #121212;
    --foreground: #F0F0F0;
    --accent: #CD7F32;
    --muted: #2A2A2A;
    --muted-foreground: #A0A0A0;
    --card: #1E1E1E;
    --border: #333333;
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    /* Header Height Variable for consistent spacing */
    --header-height: 8rem;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
}

/* 
   AERO HEADER BASE 
   Fixed Position for Overlay Effect 
   Matches Next.js defaults: bg/70, blur-md (12px)
   REMOVED DEFAULT MASK to fix visibility issue.
*/
.site-header {
    background-color: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* mask-image removed from default to prevent disappearance */

    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
    transition: all 0.3s ease;
}

/* 
   CONTENT OFFSET
   Ensures content starts below the fixed header initially
*/
body .wp-site-blocks>header+* {
    margin-top: var(--header-height);
}

/* 
   BLOCK STYLES (Overrides) 
*/

/* Strong Glass */
.is-style-glass-strong {
    background-color: rgba(18, 18, 18, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

/* Light Glass */
.is-style-glass-light {
    background-color: rgba(18, 18, 18, 0.5) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Mask / Fade Out - Optional Style */
.is-style-header-mask {
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}


/* Admin Bar Support */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Navigation Links */
.wp-block-navigation-item__content {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    color: var(--foreground);
}

.wp-block-navigation-item__content:hover {
    opacity: 1;
    color: var(--accent);
}

/* Footer Adjustments */
footer {
    background-color: var(--background);
    color: var(--foreground);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
}


/* collection-styles */
/* Product Card Hover Effects */
.tml-product-card .wp-block-post-featured-image img {
    transition: transform 0.7s ease-out;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    padding: 2rem;
}

.tml-product-card:hover .wp-block-post-featured-image img {
    transform: scale(1.1);
}

/* Category Filter Buttons (Replica of Next.js Tabs) */
.tml-filter-buttons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.tml-filter-buttons li {
    margin: 0;
}

.tml-filter-buttons a {
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    /* text-sm */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* tracking-widest */
    color: #a1a1aa;
    /* text-muted-foreground */
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
    padding-bottom: 2px;
}

.tml-filter-buttons a:hover {
    color: #fff;
}

.tml-filter-buttons li.current-cat a {
    color: #fff;
    border-bottom-color: #fff;
}