/*
 * Theme Variation: Obsidian
 * 
 * Sleek, dark, volcanic glass - like obsidian stone
 * - High contrast dark/light interplay
 * - Glassy surfaces with subtle reflections
 * - Monochromatic with strategic color pops
 * - Sharp precision with polished finish
 * - Minimal but impactful animations
 * - Premium, luxurious feel
 */

/* ========================================
   CUSTOM ANIMATIONS
   ======================================== */

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

/* ========================================
   GLOBAL FOUNDATION
   ======================================== */

img,
.button,
.raven-form-submit,
.hero-form,
.review-block,
.ff-default .ff-el-form-control,
.menu-header-menu-container ul ul,
.footer-service a:link,
.blog-featured-card,
.blog-index-card,
.homepage-blog-card,
.sidebar-card,
.rrp-post,
.benefits-box {
    border-radius: 3px !important;
}

.header .logo img {
    border-radius: 0 !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h3 {
    letter-spacing: -0.5px !important;
}

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

.header-container {
    background: var(--header-bg-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.header-container.scrolled,
.interior-header {
    background: var(--header-bg-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    border-bottom-color: transparent;
}

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

.menu-header-menu-container > ul > li > a {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

.menu-header-menu-container > ul > li > a:hover {
    color: var(--highlight-color) !important;
}

.menu-header-menu-container > ul > li > a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    transition: width 0.25s ease;
}

.menu-header-menu-container > ul > li > a:hover::before {
    width: 100%;
}

.menu-header-menu-container > ul > li.menu-item-has-children > a::before {
    display: none;
}

.menu-header-menu-container ul li.menu-item-has-children > a::after {
    font-size: 12px !important;
    top: calc(50% - 1px) !important;
}

.menu-header-menu-container ul ul {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #2d2d2d 0%, #0a0a0a 100%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 6px;
    min-width: 260px;
}

.menu-header-menu-container ul ul li {
    margin: 0;
}


.menu-header-menu-container ul ul li a {
    color: rgba(255, 255, 255, 0.75) !important;
    border-bottom: none !important;
    padding: 5px 18px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border-radius: 2px !important;
    margin: 0;
}

.menu-header-menu-container ul ul li a:hover {
    color: #fff !important;
    background: var(--highlight-color) !important;
    padding-left: 18px !important;
}

/* ========================================
   BUTTONS
   ======================================== */

.button,
.raven-form-submit {
    background: var(--highlight-color) !important;
    border: none !important;
    color: #fff !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 700 !important;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.button::before,
.raven-form-submit::before {
    display: none;
}

.button:hover,
.raven-form-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2) !important;
    filter: brightness(1.1);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-container::before {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.85) 100%);
}

.hero h4 {
    font-weight: 600 !important;
    letter-spacing: 4px;
    font-size: 14px !important;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 20px !important;
}

.hero h4::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
}

.hero h1 {
    font-weight: 900 !important;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-form {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
    padding: 40px 35px;
}

.hero-form h2 {
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px !important;
}

.hero-form h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--highlight-color);
    margin: 15px auto 0;
}

/* ========================================
   SECTION REVEALS
   ======================================== */

.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits-container {
    background: #f8f8f8;
}

.benefits h3 {
    color: var(--neutral-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.benefits-icon {
    background: color-mix(in srgb, var(--highlight-color) 10%, transparent);
}

.benefits-box {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 35px 25px;
    text-align: center;
}

.benefits-box.revealed {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.benefits-box:nth-child(1) { transition-delay: 0s; }
.benefits-box:nth-child(2) { transition-delay: 0.1s; }
.benefits-box:nth-child(3) { transition-delay: 0.2s; }

.benefits-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.benefits-box h4 {
    color: var(--neutral-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* The base rule sets padding: 0, which is fine where the heading has no
       border - here it left the rule sitting directly against the text. */
    padding-bottom: 12px;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

.benefits-box:hover h4 {
    border-color: var(--highlight-color);
}

.benefits-box i {
    color: var(--highlight-color);
}

/* ========================================
   CTA BAR
   ======================================== */

.ctabar-container {
    background: var(--highlight-color);
}

.ctabar h3 {
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ctabar .button {
    background: #fff !important;
    color: var(--neutral-color) !important;
}

.ctabar .button:hover {
    background: #fff !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   PHOTOS SECTION
   ======================================== */

.photos-container {
    margin-top: 6px;
}

/* ========================================
   TESTIMONIAL BAR
   ======================================== */

.testimonial-bar {
    background: #0a0a0a;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.review-container {
    background: #f7f7f7;
}

.review h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.review-block {
    border: none;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.review-block:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.review-block h4 {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.review-rating i.fa-star {
    color: #FFCB05 !important;
}

/* ========================================
   BLOG CARDS
   ======================================== */

.blog-featured-card,
.blog-index-card,
.homepage-blog-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    transition: all 0.3s ease;
}

.blog-featured-card:hover,
.blog-index-card:hover,
.homepage-blog-card:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.blog-index-card h3,
.blog-featured-card h2 {
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ========================================
   HOMEPAGE BLOG SECTION
   ======================================== */

.homepage-blog-container {
    background: #f8f8f8;
}

.homepage-blog h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

.sidebar-trust-rated {
    border-radius: 3px 3px 0 0 !important;
}

/* ========================================
   SUBPAGE CONTENT
   ======================================== */

.sub-container {
    opacity: 1 !important;
    animation: obsidianReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) both !important;
    animation-delay: 0s !important;
}

.sub h1 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800 !important;
    position: relative;
    display: inline-block;
}

.sub h1::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--highlight-color);
    margin-top: 20px;
}

.sub h2 {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--neutral-color);
    font-size: 20px !important;
    margin-top: 45px !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.sub h3 {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 17px !important;
    font-weight: 700 !important;
}

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

.footer-container {
    background: linear-gradient(180deg, #2d2d2d 0%, #0a0a0a 100%);
    color: #fff;
}

.footer h4 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.footer-service {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-service h4 {
    text-align: left;
}

.footer-service h4::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
}

.footer-service a:link,
.footer-service a:visited {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    padding: 10px 16px;
}

.footer-service a::before {
    display: none;
}

.footer-service a:hover {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    color: #fff !important;
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom ul li {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-bottom a:hover {
    color: var(--highlight-color) !important;
}

/* ========================================
   FORM INPUTS
   ======================================== */

.ff-default .ff-el-form-control {
    border: 1px solid #e0e0e0 !important;
    transition: all 0.25s ease !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    background: #fafafa !important;
}

.ff-default .ff-el-form-control:focus {
    border-color: var(--highlight-color) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(var(--highlight-color-rgb, 45, 122, 79), 0.1) !important;
}

/* ========================================
   GALLERY IMAGES
   ======================================== */

.wp-block-gallery img,
.photos img {
    transition: all 0.3s ease;
}

.wp-block-gallery img:hover,
.photos img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

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

@media screen and (max-width: 1024px) {
    .reveal-section {
        transform: translateY(25px);
    }
    
    .reveal-section.revealed {
        transform: translateY(0);
    }
    
    .hero-content .button {
        display: none;
    }

    .footer-block-left,
    .footer-block-right {
        text-align: center;
    }
    
    .footer-service h4 {
        text-align: center;
    }
    
    .sub h1::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   DROPDOWN LINK COLOUR - SPECIFICITY GUARD
   ========================================
   style.css sets `.menu-header-menu-container ul ul li a { color:
   var(--brand-color) !important }`. That is the SAME specificity as the rule
   above, so which one won came down to which stylesheet the browser saw last -
   and with SG Optimizer combining plus a duplicated style.css link, that varied
   between page loads. Dark dropdown text on a dark panel was the visible result.

   Repeating the container class makes this (0,2,4) against base's (0,1,4), so
   it wins regardless of load order. Do not "simplify" it back. */
.menu-header-menu-container.menu-header-menu-container ul ul li a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.menu-header-menu-container.menu-header-menu-container ul ul li a:hover,
.menu-header-menu-container.menu-header-menu-container ul ul li a:focus {
    color: #fff !important;
}
