/*!
Theme Name: Designexo
Theme URI: https://themearile.com/designexo-theme/
Author: ThemeArile
Author URI: https://themearile.com
Description: Designexo is a fully modern and high-quality WordPress theme for creating architects and interior design websites.
Version: 12.9
Tested up to: 5.9
Requires PHP: 5.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: designexo
Tags: one-column, two-columns, four-columns, right-sidebar, flexible-header, custom-background, custom-header, custom-menu, editor-style, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, rtl-language-support, translation-ready, full-width-template, custom-logo, blog, e-commerce, portfolio
*/

/*--------------------------------------------------
=>> Modern Variables & Setup
--------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-body: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(51, 65, 85, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-color: #38bdf8;
    --accent-hover: #0ea5e9;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --font-main: 'Inter', sans-serif;
    --glass-blur: blur(12px);
}

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

body,
#wrapper {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

body.custom-background {
    background-color: var(--bg-body) !important;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/*--------------------------------------------------
=>> Components & Utilities
--------------------------------------------------*/

.container,
.container-full {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
}

.btn,
button,
input[type="submit"],
.wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    text-transform: none;
    letter-spacing: normal;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select,
.form-control {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/*--------------------------------------------------
=>> Header & Navigation
--------------------------------------------------*/
/* Base Navbar (Transparent & Overlay) */
.navbar-header-wrap {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: none;
    position: absolute;
    /* Floats over content */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* Scrolled Navbar (Glassmorphism & Fixed) */
.navbar-header-wrap.header-fixed-top {
    position: fixed;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    letter-spacing: -0.05em;
    padding: 0;
    margin-right: 1.5rem;
}

.navbar .navbar-brand img,
.custom-logo {
    max-width: 45px !important;
    /* Smaller logo */
    height: 45px !important;
    object-fit: cover;
    border-radius: 50%;
    /* Make it circular */
    transition: transform 0.3s ease;
}

.navbar .navbar-brand:hover img {
    transform: rotate(5deg) scale(1.05);
    /* Subtle animation on hover */
}

.navbar .navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    /* Slightly smaller font */
    padding: 0.8rem 0.8rem !important;
    /* Much tighter padding */
    text-transform: none !important;
    letter-spacing: normal !important;
}

.navbar .navbar-nav .nav-item:hover .nav-link,
.navbar .navbar-nav .nav-item.active .nav-link {
    color: var(--accent-color) !important;
}

/*--------------------------------------------------
=>> Hero / Slider
--------------------------------------------------*/
.theme-main-slider .item {
    height: 80vh;
    min-height: 600px;
}

.theme-slider-content {
    background: transparent;
}

.theme-slider-content .title-large {
    font-size: 4rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.theme-slider-content .sub-title {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

/*--------------------------------------------------
=>> Services & Cards
--------------------------------------------------*/
.theme-services {
    background-color: var(--bg-body);
    padding: 5rem 0;
}

.service-content {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-content:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: -0.01em;
}

.service-content p {
    font-size: 0.95rem;
}

.theme-services .service-content-thumbnail i.fa {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/*--------------------------------------------------
=>> Blog & Posts
--------------------------------------------------*/
.theme-blog .post {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.theme-blog .post:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(56, 189, 248, 0.3);
}

.post-content {
    padding: 2rem;
}

.entry-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: -0.01em;
}

.entry-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 1rem;
}

.theme-blog .post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.theme-blog .post:hover .post-thumbnail img {
    transform: scale(1.05);
}

/*--------------------------------------------------
=>> Footer
--------------------------------------------------*/
.theme-footer-area {
    background: #020617;
    /* Darker than body */
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.widget-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.theme-copyright-area {
    background: #020617;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/*--------------------------------------------------
=>> Helper Classes
--------------------------------------------------*/
.theme-bg-grey,
.theme-bg-dark {
    background-color: var(--bg-body) !important;
}

.text-dark {
    color: var(--text-primary) !important;
}

/* Overwrite specific harsh areas */
.theme-info-area {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    margin-top: -2rem;
    /* Overlap slider */
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* WordPress Core Alignment */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .theme-info-area {
        margin-top: 0;
        border-radius: 0;
    }

    .navbar-nav>li>a {
        padding: 1rem !important;
    }
}