/* =========================================================
   SIMORGH SCHOOL
   Main Stylesheet
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #f8f5ee;
    color: #17243a;
    line-height: 1.9;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 245, 238, 0.96);
    border-bottom: 1px solid #e6dfd1;
    backdrop-filter: blur(12px);
}

.header-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #17243a;
    color: #d6ae5b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.logo-text strong {
    font-size: 18px;
    color: #17243a;
}

.logo-text span {
    font-size: 11px;
    color: #8b806d;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-navigation a {
    color: #596174;
    font-size: 14px;
    transition: 0.25s;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #b28736;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-button {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd4c3;
    background: #fffdf8;
    border-radius: 12px;
    cursor: pointer;
    font-size: 17px;
}

.account-button {
    padding: 9px 15px;
    border-radius: 10px;
    border: 1px solid #d8cbb5;
    color: #17243a;
    font-size: 13px;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-box {
    display: none;
    background: #17243a;
    padding: 15px 0;
}

.search-box.open {
    display: block;
}

.search-container {
    display: flex;
    gap: 10px;
}

.search-container input {
    flex: 1;
    height: 48px;
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    outline: none;
    font-size: 14px;
}

.search-container button {
    border: 0;
    background: #d6ae5b;
    color: #17243a;
    border-radius: 10px;
    padding: 0 20px;
    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 590px;
    background:
        radial-gradient(circle at 15% 30%, rgba(214, 174, 91, 0.18), transparent 30%),
        linear-gradient(115deg, #111e33 0%, #1c2c45 55%, #243954 100%);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(214, 174, 91, 0.15);
    left: -180px;
    top: -220px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(17, 30, 51, 0.15),
            rgba(17, 30, 51, 0.35)
        );
}

.hero-container {
    min-height: 590px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    color: #fff;
}

.hero-label,
.section-label,
.featured-label {
    display: inline-block;
    color: #cba55b;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.35;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 span {
    color: #d8b66b;
}

.hero p {
    max-width: 570px;
    color: #d7dce5;
    font-size: 16px;
    line-height: 2.1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.25s;
}

.btn-gold {
    background: #d6ae5b;
    color: #17243a;
}

.btn-gold:hover {
    background: #e1c078;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
}

.btn-primary {
    background: #17243a;
    color: #fff;
}

.btn-primary:hover {
    background: #253957;
}


/* =========================================================
   SECTION COMMON
   ========================================================= */

.products-section,
.categories-section,
.articles-section {
    padding: 90px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 30px;
    color: #17243a;
    line-height: 1.5;
}

.section-heading p {
    color: #8b806d;
    font-size: 13px;
}

.view-all,
.text-link {
    color: #a47b2e;
    font-size: 13px;
    font-weight: bold;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #fffdf9;
    border: 1px solid #e8dfcf;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(28, 39, 56, 0.09);
}

.product-image {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-image-1 {
    background: linear-gradient(135deg, #dce5e5, #f1e6cf);
}

.product-image-2 {
    background: linear-gradient(135deg, #d7dce5, #e9ddc7);
}

.product-image-3 {
    background: linear-gradient(135deg, #e7dfd0, #d7e0e1);
}

.product-image-4 {
    background: linear-gradient(135deg, #dddfe4, #eee3d0);
}

.fake-book {
    width: 130px;
    height: 170px;
    background: #17243a;
    color: #fff;
    border-radius: 5px 12px 12px 5px;
    box-shadow: 10px 12px 20px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    transform: rotate(-5deg);
}

.fake-book strong {
    color: #d6ae5b;
    font-size: 19px;
}

.fake-book span {
    font-size: 13px;
    margin-top: 8px;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #17243a;
}

.product-content p {
    font-size: 12px;
    color: #817a70;
    min-height: 52px;
}

.product-rating {
    color: #d0a44f;
    font-size: 13px;
    margin: 10px 0;
}

.product-rating span {
    color: #999;
    margin-right: 5px;
}

.product-footer {
    border-top: 1px solid #eee6d8;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product-footer strong {
    color: #17243a;
    font-size: 14px;
}

.buy-button {
    color: #a47b2e;
    font-size: 11px;
    font-weight: bold;
}


/* =========================================================
   FEATURED
   ========================================================= */

.featured-section {
    padding: 0 0 90px;
}

.featured-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background: #17243a;
    border-radius: 24px;
    overflow: hidden;
    min-height: 370px;
}

.featured-image {
    min-height: 350px;
    background:
        radial-gradient(circle at center, rgba(214,174,91,0.3), transparent 45%),
        linear-gradient(135deg, #293b58, #121f34);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-symbol {
    font-size: 100px;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.25));
}

.featured-content {
    padding: 55px;
    color: #fff;
}

.featured-content h2 {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.featured-content p {
    color: #d5dae2;
    font-size: 14px;
    max-width: 560px;
}

.featured-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin: 22px 0;
    color: #d9bd7d;
    font-size: 13px;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.featured-footer strong {
    font-size: 20px;
    color: #e0bd70;
}


/* =========================================================
   TRUST
   ========================================================= */

.trust-section {
    background: #fffdf8;
    border-top: 1px solid #e7dfd0;
    border-bottom: 1px solid #e7dfd0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-item {
    padding: 28px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid #e7dfd0;
}

.trust-item:last-child {
    border-left: 0;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f2eadc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    color: #17243a;
    font-size: 14px;
}

.trust-item span {
    color: #8a8379;
    font-size: 11px;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    background: #fffdf9;
    border: 1px solid #e7dfd0;
    border-radius: 15px;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    transition: 0.25s;
}

.category-card:hover {
    border-color: #d2aa5b;
    transform: translateY(-4px);
}

.category-icon {
    font-size: 27px;
    color: #b78b39;
}

.category-card strong {
    font-size: 12px;
    color: #384359;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: #eee8dc;
    padding: 90px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 70px;
}

.about-image {
    min-height: 380px;
    border-radius: 24px;
    background:
        radial-gradient(circle, rgba(214,174,91,0.28), transparent 45%),
        linear-gradient(145deg, #17243a, #31435e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image span {
    font-size: 120px;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.25));
}

.about-content h2 {
    font-size: 34px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-content p {
    color: #6f6b63;
    font-size: 14px;
    margin-bottom: 12px;
}


/* =========================================================
   AFFILIATE
   ========================================================= */

.affiliate-section {
    padding: 70px 0;
}

.affiliate-box {
    background: #d9b76d;
    border-radius: 20px;
    padding: 42px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.affiliate-box .section-label {
    color: #5c451e;
}

.affiliate-box h2 {
    color: #17243a;
    font-size: 27px;
    margin-bottom: 7px;
}

.affiliate-box p {
    color: #4f4637;
    font-size: 13px;
}


/* =========================================================
   ARTICLES
   ========================================================= */

.articles-placeholder {
    min-height: 180px;
    border: 1px dashed #cfc4b0;
    border-radius: 18px;
    background: #fffdf9;
    color: #8b8377;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    font-size: 14px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #121d30;
    color: #dce0e7;
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 45px;
}

.footer-logo {
    color: #d6ae5b;
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-about p {
    color: #929aaa;
    font-size: 12px;
}

.footer-grid h3 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: #9ba3b1;
    font-size: 12px;
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: #d6ae5b;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    color: #7f8898;
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .main-navigation {
        gap: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 760px) {

    .container {
        width: min(100% - 28px, 600px);
    }

    .header-container {
        min-height: 70px;
        gap: 10px;
    }

    .main-navigation {
        display: none;
    }

    .logo-text span {
        display: none;
    }

    .account-button {
        display: none;
    }

    .hero,
    .hero-container {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 14px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .featured-box {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 240px;
    }

    .featured-content {
        padding: 35px 25px;
    }

    .featured-content h2 {
        font-size: 25px;
    }

    .featured-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-left: 0;
        border-bottom: 1px solid #e7dfd0;
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        min-height: 280px;
    }

    .affiliate-box {
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


@media (max-width: 420px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .category-card {
        min-height: 105px;
    }
}