/*
Theme Name: LuxeHome
Theme URI: http://example.com/luxehome
Author: AI Assistant
Author URI: http://example.com
Description: A premium, dynamic WordPress theme for showcasing sanitary ware and tiles. Built without WooCommerce or ACF.
Version: 2.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxehome
*/

/* CSS Variables for easy theme management */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #d4af37; /* Gold/Brass accent */
    --accent-color: #e67e22;
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h1::after,
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b5952f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* Wide logo (mark + text) — left side, capped so menu still fits */
.site-branding {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(520px, 56vw);
    display: flex;
    align-items: center;
}

.site-branding .custom-logo-link,
.site-branding .logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    max-width: 100%;
}

.site-branding .custom-logo,
.site-branding .custom-logo-link {
    max-width: 100%;
}

.site-branding img {
    height: auto;
    width: auto;
    max-height: 58px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.logo img {
    max-height: 58px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 88px; /* offset for navbar (taller wide logo) */
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.hero .btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.hero .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}

.hero-actions .btn i {
    margin-left: 6px;
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    display: block;
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    text-decoration: none;
    color: var(--text-dark);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--secondary-color);
}

.category-card:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

.category-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: block;
}

.category-card h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Products */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.view-btn {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-btn:hover {
    color: var(--primary-color);
}

/* Features */
.features {
    background-color: var(--primary-color);
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.feature-item p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-about h3 span {
    color: var(--secondary-color);
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Shop page: full width with horizontal padding */
.shop-page-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

.shop-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.shop-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.shop-pagination li {
    margin: 0;
}

.shop-pagination a.page-numbers,
.shop-pagination span.page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.shop-pagination a.page-numbers:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.shop-pagination span.page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.shop-pagination span.page-numbers.dots {
    border: none;
    min-width: auto;
}

/* Shop layout */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 24px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.shop-sidebar__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.shop-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-cat-list li {
    margin-bottom: 8px;
}

.shop-cat-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.shop-cat-list a:hover,
.shop-cat-list a.is-active {
    background: var(--primary-color);
    color: var(--white);
}

.shop-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* About page */
.about-page {
    overflow-x: hidden;
}

.about-hero {
    position: relative;
    min-height: 56vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 120px 20px 72px;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.92) 0%, rgba(44, 62, 80, 0.62) 55%, rgba(44, 62, 80, 0.88) 100%);
}

.about-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
}

.about-hero__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.about-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    line-height: 1.2;
    margin: 0 0 20px;
    color: var(--white);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.about-hero__lead {
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.about-kicker {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.about-kicker--center {
    display: block;
    text-align: center;
}

.about-kicker--light {
    color: var(--secondary-color);
}

.about-split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-split__grid--media-left .about-split__media {
    order: 0;
}

.about-split__grid--media-left .about-split__content {
    order: 1;
}

.about-split__grid--media-right .about-split__media {
    order: 1;
}

.about-split__grid--media-right .about-split__content {
    order: 0;
}

.about-split__media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-split__media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.about-split__media img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-split__heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0 0 16px;
}

.about-split__text {
    margin: 0 0 16px;
    color: var(--text-dark);
    line-height: 1.75;
    font-size: 1.02rem;
}

.about-split__text:last-child {
    margin-bottom: 0;
}

.about-split--alt {
    background-color: var(--bg-light);
}

.about-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.about-section-head__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    color: var(--primary-color);
    margin: 0;
    line-height: 1.25;
}

.about-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-audience__card {
    background: var(--white);
    padding: 32px 26px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--secondary-color);
    transition: var(--transition);
}

.about-audience__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.about-audience__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--secondary-color);
    font-size: 1.35rem;
}

.about-audience__card-title {
    font-size: 1.15rem;
    margin: 0 0 10px;
    color: var(--primary-color);
}

.about-audience__card-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-light);
}

.about-strip {
    background: linear-gradient(90deg, var(--primary-color) 0%, #3d566e 100%);
    color: var(--white);
    padding: 48px 0;
}

.about-strip__inner {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 1000px;
}

.about-strip__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.about-strip__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    margin: 0 0 10px;
    color: var(--white);
}

.about-strip__text {
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.about-final {
    background: radial-gradient(ellipse 120% 80% at 50% 0%, #3d4f61 0%, var(--primary-color) 45%, #1f2d3a 100%);
    color: var(--white);
}

.about-final__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-final__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    line-height: 1.25;
    margin: 0 0 16px;
    color: var(--white);
}

.about-final__lead {
    margin: 0 0 28px;
    line-height: 1.75;
    opacity: 0.88;
    font-size: 1.02rem;
}

.about-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-final__btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.about-final__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.about-final__list {
    list-style: none;
    margin: 0;
    padding: 28px 28px 28px 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-final__list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.5;
    font-size: 0.98rem;
}

.about-final__list li:last-child {
    border-bottom: none;
}

.about-final__list li .fa-check {
    position: absolute;
    left: 0;
    top: 13px;
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.page-content {
    min-height: 50vh;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        gap: 16px;
    }

    .site-branding {
        max-width: min(420px, 62vw);
    }

    .site-branding img,
    .logo img {
        max-height: 48px;
    }

    .about-audience__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .about-final__layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        flex-shrink: 0;
    }

    .site-branding {
        max-width: calc(100% - 52px);
    }

    .site-branding img,
    .logo img {
        max-height: 42px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        transition: 0.3s;
        gap: 20px;
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .shop-page-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-hero {
        min-height: auto;
        padding: 104px 16px 52px;
    }

    .about-strip__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-strip__icon {
        margin-bottom: 4px;
    }

    .about-final__actions {
        justify-content: center;
    }

    .about-final__intro {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .about-split__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-split__grid--media-right .about-split__media {
        order: -1;
    }
}
