/*
Theme Name: Temple of Horus Edfu
Theme URI: https://djeba.org
Author: DJEBA
Author URI: https://djeba.org
Description: A virtual reconstruction of the Temple of Horus at Edfu featuring temple services, offerings, ritual artifacts, marketplace integration, and House of Life sponsorship pathways.
Version: 1.0.0
License: GPL v2 or later
Text Domain: temple-of-horus-edfu
*/

/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {

    --papyrus: #E8D8A8;
    --horus-gold: #C9A227;
    --lapis-blue: #1F5D8C;
    --malachite: #3E7A58;
    --sandstone: #C8B28A;
    --limestone: #F5F2E8;
    --obsidian: #1D1D1D;
    --shadow: rgba(0,0,0,.15);

    --container-width: 1400px;

    --transition: all .3s ease;

}

/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: Inter, Arial, sans-serif;
    background: var(--limestone);
    color: var(--obsidian);
    line-height: 1.8;
    overflow-x: hidden;

}

img {

    max-width: 100%;
    height: auto;
    display: block;

}

a {

    text-decoration: none;
    color: var(--lapis-blue);
    transition: var(--transition);

}

a:hover {

    color: var(--horus-gold);

}

ul {
    list-style: none;
}

/* =====================================================
   LAYOUT
===================================================== */

.container {

    width: min(var(--container-width), 94%);
    margin: 0 auto;

}

.site-main {

    min-height: 60vh;

}

section {

    padding: 6rem 0;

}

/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: "Cinzel", serif;
    color: var(--obsidian);
    line-height: 1.2;
    margin-bottom: 1rem;

}

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {

    margin-bottom: 1rem;

}

/* =====================================================
   BUTTONS
===================================================== */

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {

    background: var(--horus-gold);
    color: #fff !important;

    padding: 14px 30px;

    border: none;
    border-radius: 4px;

    font-weight: 600;
    display: inline-block;

    transition: var(--transition);

}

.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover {

    background: var(--lapis-blue);
    color: #fff !important;

}

/* =====================================================
   TOP BAR
===================================================== */

.top-bar {

    background: var(--obsidian);
    color: white;
    padding: 12px 0;

}

.top-bar .container {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.top-bar a {

    color: white;
    margin-left: 20px;

}

/* =====================================================
   HEADER
===================================================== */

.site-header {

    background: white;
    border-bottom: 4px solid var(--horus-gold);
    position: sticky;
    top: 0;
    z-index: 999;

}

.header-grid {

    display: grid;

    grid-template-columns:
        250px
        1fr
        220px;

    gap: 2rem;

    align-items: center;

    padding: 1rem 0;

}

.site-title {

    font-family: "Cinzel", serif;
    font-size: 2rem;
    font-weight: 700;

}

.site-tagline {

    font-size: .85rem;

}

/* =====================================================
   NAVIGATION
===================================================== */

.main-navigation ul {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;

}

.main-navigation a {

    color: var(--obsidian);
    font-family: "Cinzel", serif;
    font-weight: 600;

}

.main-navigation a:hover {

    color: var(--horus-gold);

}

/* =====================================================
   TEMPLE BANNER
===================================================== */

.temple-banner {

    background: var(--lapis-blue);
    color: white;
    padding: 15px 0;
    text-align: center;

}

.temple-path {

    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;

}

.temple-icon {

    color: var(--horus-gold);

}

/* =====================================================
   HERO
===================================================== */

.temple-hero {

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.45)
        ),
        url('../images/temple/edfu-temple.jpg');

    background-size: cover;
    background-position: center center;

    color: white;

}

.hero-content {

    max-width: 900px;

}

.temple-label {

    text-transform: uppercase;
    letter-spacing: 3px;

    color: var(--horus-gold);

}

.temple-hero h1 {

    color: white;
    margin: 1rem 0;

}

.hero-buttons {

    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;

    margin-top: 2rem;

}

/* =====================================================
   SACRED SPACES
===================================================== */

.temple-map-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap: 2rem;

}

.temple-space {

    background: white;
    padding: 2rem;

    border-top: 6px solid var(--horus-gold);

    box-shadow: 0 4px 20px var(--shadow);

}

/* =====================================================
   OFFERINGS
===================================================== */

.offerings-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px,1fr));

    gap: 2rem;

}

.offering-card {

    background: white;
    padding: 2rem;

    border: 1px solid var(--sandstone);

    text-align: center;

}

.offering-card h3 {

    color: var(--lapis-blue);

}

/* =====================================================
   MARKETPLACE
===================================================== */

.marketplace-section {

    background: #fff;

}

.product-grid,
.products {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap: 2rem;

}

.product-card {

    background: white;

    border: 1px solid #ddd;

    overflow: hidden;

    box-shadow: 0 4px 20px var(--shadow);

}

.product-card-content {

    padding: 1.5rem;

}

/* =====================================================
   WOOCOMMERCE
===================================================== */

.woocommerce ul.products li.product {

    background: white;
    padding: 20px;

    border: 1px solid #ddd;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);

}

.woocommerce ul.products li.product .price {

    color: var(--lapis-blue);
    font-weight: bold;

}

.woocommerce div.product {

    background: white;
    padding: 40px;

}

.woocommerce-tabs {

    margin-top: 3rem;

}

/* =====================================================
   HOUSE OF LIFE
===================================================== */

.house-of-life {

    background:

        linear-gradient(
            rgba(31,93,140,.90),
            rgba(31,93,140,.90)
        );

    color: white;
    text-align: center;

}

.house-of-life h2 {

    color: white;

}

.house-of-life .button {

    margin-top: 1rem;

}

/* =====================================================
   SIDEBAR
===================================================== */

.temple-sidebar {

    display: flex;
    flex-direction: column;
    gap: 2rem;

}

.sidebar-card {

    background: white;
    padding: 2rem;
    border-left: 5px solid var(--horus-gold);

}

/* =====================================================
   ARCHIVES
===================================================== */

.archive-grid,
.results-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(350px,1fr));

    gap: 2rem;

}

.archive-card,
.search-card {

    background: white;

    overflow: hidden;

    border: 1px solid #ddd;

    box-shadow: 0 4px 20px rgba(0,0,0,.08);

}

/* =====================================================
   SINGLE POSTS
===================================================== */

.single-content-section {

    background: white;

}

.single-article {

    max-width: 900px;
    margin: auto;

}

.single-article img {

    margin: 2rem auto;

}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    background: var(--obsidian);
    color: white;

    padding: 5rem 0 2rem;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap: 3rem;

}

.site-footer h3 {

    color: var(--horus-gold);

}

.site-footer a {

    color: white;

}

.site-footer a:hover {

    color: var(--horus-gold);

}

.footer-divider {

    margin: 3rem 0;
    border-color: rgba(255,255,255,.15);

}

.footer-bottom {

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;

}

/* =====================================================
   404 PAGE
===================================================== */

.error-hero {

    text-align: center;
    padding: 8rem 0;

}

.error-code {

    font-size: 8rem;
    color: var(--horus-gold);

}

/* =====================================================
   FORMS
===================================================== */

input,
textarea,
select {

    width: 100%;

    padding: 12px;

    border: 1px solid #ccc;

    margin-bottom: 1rem;

}

input[type="submit"] {

    width: auto;

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 991px) {

    .header-grid {

        grid-template-columns: 1fr;
        text-align: center;

    }

    .main-navigation ul {

        flex-direction: column;

    }

    .hero-buttons {

        flex-direction: column;

    }

}

@media (max-width: 768px) {

    section {

        padding: 4rem 0;

    }

    .footer-bottom {

        flex-direction: column;
        text-align: center;

    }

}

/* =====================================================
   SEARCH FORM
===================================================== */

.temple-search-form {
    width: 100%;
}

.search-form-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--sandstone);
    background: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.search-submit {
    background: var(--horus-gold);
    color: #fff;
    border: 0;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.search-submit:hover {
    background: var(--lapis-blue);
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

@media (max-width: 768px) {

    .search-form-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .search-submit {
        width: 100%;
    }

}
.daily-service {
    background: #ffffff;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.temple-location-badge {
    display: inline-block;
    background: var(--horus-gold);
    color: #fff;
    padding: 4px 10px;
    margin-bottom: 1rem;
    font-size: .85rem;
    border-radius: 4px;
}

.service-actions {
    text-align: center;
    margin-top: 3rem;
}
.offerings-section {
    background: #fff;
}

.offering-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.offering-badge {
    display: inline-block;
    background: var(--horus-gold);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: .85rem;
}

.offering-content {
    padding: 1.5rem;
}

.offerings-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
/* =====================================================
   MARKETPLACE
===================================================== */

.marketplace-section {
    back*round: #ffffff;
}

.marketplace-ca*egories {
    margin-bottom: 4rem;*}

.category-grid {
    display: g*id;
    grid-template-columns: rep*at(auto-fit,minmax(220px,1fr));
  * gap: 1.5rem;
}

.category-card {
    background: var(--limestone);
    border-top: 5px solid var(--horus-gold);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    color: var(--lapis-blue);
}

.featured-products {
    margin-top: 3rem;
}

.marketplace-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}
/* =====================================================
   HOUSE OF LIFE
===================================================== */

.house-of-life {
    background*
        linear-gradient(
        *   rgba(31,93,140,.92),
          * rgba(31,93,140,.92)
        );
  * color: #ffffff;
    text-align: c*nter;
}

.house-of-life h2,
.house*of-life h3 {
    color: #ffffff;
}*
.house-of-life-content {
    max-*idth: 1000px;
    margin: 0 auto;
*

.house-intro {
    font-size: 1.*5rem;
    max-width: 800px;
    ma*gin: 0 auto 2rem;
}

.house-quote *
    margin: 2rem auto 3rem;
    p*dding: 1.5rem;
    border-left: 4p* solid var(--horus-gold);
    background: rgba(255,255,255,.08);
    max-width: 700px;
    font-style: italic;
}

.house-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: rgba(255,255,255,.10);
    padding: 2rem;
    border-top: 4px solid var(--horus-gold);
}

.house-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.house-actions .button {
    min-width: 220px;
}
/* =====================================================
   SPONSORSHIPS
===================================================== */

.sponsorships-section {
    background: var(--limestone);
}

.sponsorship-card {
    border-top: 5px solid var(--lapis-blue);
}

.sponsorship-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar {
    background: #111;
    color: #fff;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 600;
}

.top-bar-right a:hover {
    text-decoration: underline;
}
.header-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.main-navigation a:hover {
    color: #000;
}
/* === Djeba header/top-bar fixes === */

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right a {
    margin-left: 20px;
    font-weight: 600;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
/* === Larger Custom Logo === */
.custom-logo {
    width: 150px;      /* increase or decrease this value */
    height: auto;
}
