/* --- PAGE HERO (banner used on every inner page: about, blog, contact, products, gallery, search, article, category, single-product) --- */
.page-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 90px;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(var(--primary-rgb),.85), rgba(var(--primary-rgb),.95));
    z-index: 1;
}

.page-title {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.page-title h1 {
    font-size: 46px;
    margin-bottom: 20px;
}

.page-title p {
    font-size: 18px;
    color: var(--text-light);
}

/* --- BREADCRUMB --- */
.breadcrumb a {
    color: var(--gold);
}
.breadcrumb span {
    color: var(--text-light);
}

/* --- GENERIC CTA BAND (used on every inner page) --- */
.cta {
    padding: 90px 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    text-align: center;
}

.cta h2 {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .main-btn {
    background: var(--primary);
    color: var(--white);
}

/* --- PRODUCTS (products.php) --- */
.products-page {
    background: var(--secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.product-box {
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.15);
    border-radius: 30px;
    transition: var(--transition-slow);
}

.product-box:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
}

.product-box img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.product-category {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-info p {
    margin-bottom: 22px;
}

/* --- SEARCH (search.php — reuses .category-image/.category-content from home-categories.css) --- */
.search-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 50px;
}

.search-form input {
    flex: 1;
    background: var(--card);
    border: 1px solid rgba(214,177,95,.12);
    padding: 16px 22px;
    border-radius: 50px;
    color: var(--white);
    outline: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.product-card {
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.15);
    border-radius: 26px;
    transition: var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

/* --- BLOG (blog.php) --- */
.blog-page {
    background: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.blog-card {
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.15);
    border-radius: 30px;
    transition: var(--transition-slow);
}

.blog-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 28px;
}

.blog-date {
    display: block;
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 12px;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 21px;
}

.blog-content p {
    margin-bottom: 20px;
}

.read-more {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
}

/* --- ARTICLE (article.php) --- */
.article-page {
    background: var(--primary);
    padding-top: 40px;
}

.article-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 26px;
    margin-bottom: 35px;
}

.article-body {
    color: var(--text-light);
    line-height: 2.1;
    margin-bottom: 40px;
}

.sidebar-widget {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.15);
    border-radius: 26px;
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.sidebar-widget ul li {
    margin-bottom: 14px;
}

.sidebar-widget ul li a {
    color: var(--text-light);
}

.sidebar-widget ul li a:hover {
    color: var(--gold);
}

.sidebar-widget p {
    margin-bottom: 20px;
}

/* --- CATEGORY / SUBCATEGORY (category.php) --- */
.subcategory-section {
    background: var(--secondary);
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.subcategory-card {
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.15);
    border-radius: 26px;
    transition: var(--transition-slow);
}

.subcategory-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.subcategory-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.subcategory-content {
    padding: 26px;
}

.subcategory-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.subcategory-content p {
    margin-bottom: 20px;
}

/* --- SINGLE PRODUCT (single-product.php) --- */
.single-product {
    background: var(--primary);
}

.single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.single-image img {
    width: 100%;
    border-radius: 26px;
}

.single-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.single-content p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 25px;
}

.product-full-description {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 30px;
}

.product-gallery {
    margin-top: 60px;
}

.product-gallery h3 {
    margin-bottom: 25px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.gallery-thumbs img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
}

/* --- ABOUT PAGE (about.php — standalone page, distinct from home-about) --- */
.about-page {
    background: var(--secondary);
}

.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-page-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
}

.about-page-text span {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--gold);
    font-weight: 700;
}

.about-page-text h2 {
    font-size: 38px;
    margin-bottom: 22px;
}

.about-page-text p {
    color: var(--text-light);
    line-height: 2.1;
    margin-bottom: 30px;
}

/* --- GALLERY PAGE (gallery.php — standalone page, distinct from home-gallery) --- */
.gallery-page {
    background: var(--secondary);
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-page-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.gallery-page-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-page-item:hover img {
    transform: scale(1.1);
}

.gallery-item-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}

.gallery-item-caption span {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

/* --- CONTACT (contact.php) --- */
.contact-page {
    background: var(--secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 50px;
    border-radius: 30px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.15);
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 17px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item h3 i {
    color: var(--gold);
    font-size: 15px;
}

.contact-item p {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-item p a {
    color: var(--text-light);
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--gold);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:40px;
    height:40px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white) !important;
    font-size: 26px;
    transition: var(--transition);
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37,211,102,.4);
}

.contact-form {
    padding: 50px;
    border-radius: 30px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(214,177,95,.15);
}

/* --- FORM --- */
.contact-form input, .contact-form textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid rgba(214,177,95,.12);
    padding: 18px 25px;
    border-radius: 20px;
    color: var(--white);
    margin-bottom: 20px;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(214,177,95,.15);
}

.contact-form textarea {
    height: 180px;
    resize: none;
}
