/* ==========================================================================
   Dorano Front Page — All Sections
   Hero, Trust Bar, Categories, Products, Brand Story, Newsletter
   ========================================================================== */

/* ---------- Front Page Layout Reset ---------- */
.home .site-content {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Inner .dorano-container for content width control */
.dorano-trust-bar .dorano-container,
.dorano-categories .dorano-container,
.dorano-products-section .dorano-container,
.dorano-brand-story .dorano-container,
.dorano-newsletter .dorano-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Section Header (Reusable) ---------- */
.dorano-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.dorano-section-header__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dorano-gold);
    margin-bottom: 8px;
}

.dorano-section-header__title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--dorano-main);
    margin: 0 0 16px;
    line-height: 1.2;
}

.dorano-section-header__line {
    width: 60px;
    height: 3px;
    background: var(--dorano-gradient-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* ---------- 1. Hero Slider ---------- */
.dorano-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    background: var(--dorano-secondary);
}

.dorano-hero__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.dorano-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.dorano-hero__slide--active {
    opacity: 1;
    z-index: 1;
}

/* Slide background — separate div for Ken Burns */
.dorano-hero__slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: none;
}

/* Ken Burns zoom on active slide */
.dorano-hero__slide--active .dorano-hero__slide-bg.dorano-hero__slide-bg--kenburns {
    animation: doranoKenBurns 8s ease-out forwards;
}

@keyframes doranoKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Placeholder gradients */
.dorano-hero__slide--placeholder-1 .dorano-hero__slide-bg {
    background: linear-gradient(135deg, #20000c 0%, #3d0f2a 40%, #0e0004 100%);
}

.dorano-hero__slide--placeholder-2 .dorano-hero__slide-bg {
    background: linear-gradient(135deg, #0e0004 0%, #1a0a10 50%, #20000c 100%);
}

.dorano-hero__slide--placeholder-3 .dorano-hero__slide-bg {
    background: linear-gradient(135deg, #2a0818 0%, #20000c 60%, #0e0004 100%);
}

.dorano-hero__slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(14, 0, 4, 0.3) 0%,
        rgba(14, 0, 4, 0.5) 50%,
        rgba(14, 0, 4, 0.7) 100%
    );
    z-index: 1;
}

.dorano-hero__slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 60px clamp(20px, 6vw, 80px);
    max-width: 800px;
    width: 100%;
}

/* Text fade-up animation */
.dorano-hero__title,
.dorano-hero__subtitle,
.dorano-hero__cta {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.dorano-hero__slide--active .dorano-hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.dorano-hero__slide--active .dorano-hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.dorano-hero__slide--active .dorano-hero__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.dorano-hero__title {
    color: var(--dorano-white);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.dorano-hero__subtitle {
    color: var(--dorano-off-white);
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 550px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.dorano-hero__cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--dorano-gold);
    color: var(--dorano-main);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--dorano-transition);
}

.dorano-hero__cta:hover {
    background: var(--dorano-gold-light);
    color: var(--dorano-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.4);
}

/* Arrows */
.dorano-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(14, 0, 4, 0.45);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--dorano-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--dorano-transition);
    padding: 0;
}

.dorano-hero__arrow:hover {
    background: var(--dorano-gold);
    color: var(--dorano-main);
    border-color: var(--dorano-gold);
}

.dorano-hero__arrow--prev {
    left: 24px;
}

.dorano-hero__arrow--next {
    right: 24px;
}

/* Dots */
.dorano-hero__dots {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dorano-hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--dorano-gold);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--dorano-transition);
}

.dorano-hero__dot--active {
    background: var(--dorano-gold);
    transform: scale(1.2);
}

/* Scroll Hint */
.dorano-hero__scroll-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255, 255, 255, 0.6);
    animation: doranoScrollBounce 2s ease infinite;
    transition: opacity 0.3s ease;
}

.dorano-hero__scroll-hint--hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes doranoScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- 2. Trust Bar ---------- */
.dorano-trust-bar {
    background: var(--dorano-off-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--dorano-light-gray);
}

.dorano-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dorano-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.dorano-trust-bar__icon {
    flex-shrink: 0;
    color: var(--dorano-gold);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
}

.dorano-trust-bar__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dorano-main);
    margin: 0 0 2px;
}

.dorano-trust-bar__desc {
    font-size: 13px;
    color: var(--dorano-text-light);
    margin: 0;
}

/* ---------- 3. Category Grid ---------- */
.dorano-categories {
    padding: 80px 0;
    background: var(--dorano-white);
}

.dorano-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dorano-categories__card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--dorano-shadow-sm);
    transition: all var(--dorano-transition);
    background: var(--dorano-white);
}

.dorano-categories__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dorano-shadow-lg);
}

.dorano-categories__card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.dorano-categories__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dorano-transition-slow);
}

.dorano-categories__card:hover .dorano-categories__card-img img {
    transform: scale(1.08);
}

.dorano-categories__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(14, 0, 4, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--dorano-transition);
}

.dorano-categories__card:hover .dorano-categories__card-overlay {
    opacity: 1;
}

.dorano-categories__card-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--dorano-gold);
    color: var(--dorano-main);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transform: translateY(10px);
    transition: transform var(--dorano-transition);
}

.dorano-categories__card:hover .dorano-categories__card-btn {
    transform: translateY(0);
}

.dorano-categories__card-info {
    padding: 16px;
    text-align: center;
}

.dorano-categories__card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dorano-main);
    margin: 0 0 4px;
}

.dorano-categories__card-count {
    font-size: 13px;
    color: var(--dorano-text-light);
}

/* ---------- 4 & 5. Product Sections ---------- */
.dorano-products-section {
    padding: 80px 0;
}

.dorano-featured {
    background: var(--dorano-off-white);
}

.dorano-new-arrivals {
    background: var(--dorano-white);
}

.dorano-products-section .woocommerce ul.products {
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dorano-products-section .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    padding: 0;
    transition: transform var(--dorano-transition), box-shadow var(--dorano-transition);
    border-radius: 12px;
    overflow: hidden;
    background: var(--dorano-white);
    box-shadow: var(--dorano-shadow-sm);
}

.dorano-products-section .woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--dorano-shadow-lg);
}

/* Product image */
.dorano-products-section .woocommerce ul.products li.product a img {
    border-radius: 12px 12px 0 0;
    transition: transform var(--dorano-transition-slow);
}

.dorano-products-section .woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

/* Product title */
.dorano-products-section .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dorano-main);
    padding: 12px 16px 4px;
    margin: 0;
}

/* Product price */
.dorano-products-section .woocommerce ul.products li.product .price {
    color: var(--dorano-gold);
    font-weight: 700;
    font-size: 15px;
    padding: 0 16px 12px;
}

/* Add to cart button */
.dorano-products-section .woocommerce ul.products li.product .button {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    padding: 10px 16px;
}

/* Sale badge */
.dorano-products-section .woocommerce ul.products li.product .onsale {
    background: var(--dorano-accent);
    color: var(--dorano-white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    min-width: auto;
    min-height: auto;
    line-height: 1.4;
}

/* ---------- 6. Brand Story ---------- */
.dorano-brand-story {
    padding: 80px 0;
    background: var(--dorano-off-white);
}

.dorano-brand-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dorano-brand-story__image-wrap {
    position: relative;
}

.dorano-brand-story__image-wrap::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid var(--dorano-gold);
    border-radius: 12px;
    z-index: 0;
}

.dorano-brand-story__image {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 12px;
    display: block;
}

.dorano-brand-story__image--placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #20000c 0%, #3d0f2a 100%);
}

.dorano-brand-story__content .dorano-section-header__tag {
    text-align: left;
    display: block;
}

.dorano-brand-story__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--dorano-main);
    margin: 12px 0 20px;
    line-height: 1.2;
}

.dorano-brand-story__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dorano-text);
    margin: 0 0 28px;
}

.dorano-brand-story__cta {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--dorano-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--dorano-gold);
    border-radius: 4px;
    transition: all var(--dorano-transition);
}

.dorano-brand-story__cta:hover {
    background: var(--dorano-gold);
    color: var(--dorano-main);
}

/* ---------- 7. Newsletter ---------- */
.dorano-newsletter {
    padding: 80px 0;
    background: var(--dorano-gradient-dark);
}

.dorano-newsletter__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.dorano-newsletter__title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--dorano-white);
    margin: 0 0 12px;
}

.dorano-newsletter__subtitle {
    font-size: 16px;
    color: var(--dorano-text-light);
    margin: 0 0 32px;
    line-height: 1.6;
}

.dorano-newsletter__form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}

.dorano-newsletter__input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: var(--dorano-white);
    font-size: 14px;
    outline: none;
    transition: border-color var(--dorano-transition);
}

.dorano-newsletter__input::placeholder {
    color: var(--dorano-text-light);
}

.dorano-newsletter__input:focus {
    border-color: var(--dorano-gold);
}

.dorano-newsletter__btn {
    padding: 14px 28px;
    background: var(--dorano-gold);
    color: var(--dorano-main);
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--dorano-transition);
    white-space: nowrap;
}

.dorano-newsletter__btn:hover {
    background: var(--dorano-gold-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .dorano-hero {
        height: 80vh;
        max-height: 700px;
    }

    .dorano-hero__slide-content {
        padding: 40px;
    }

    .dorano-trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .dorano-categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dorano-products-section .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

    .dorano-brand-story__grid {
        gap: 40px;
    }

    .dorano-categories,
    .dorano-products-section,
    .dorano-brand-story,
    .dorano-newsletter {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .dorano-hero {
        height: 70vh;
        min-height: 400px;
        max-height: 600px;
    }

    .dorano-hero__slide-content {
        padding: 30px 24px;
    }

    .dorano-hero__arrow {
        width: 40px;
        height: 40px;
    }

    .dorano-hero__arrow--prev {
        left: 12px;
    }

    .dorano-hero__arrow--next {
        right: 12px;
    }

    .dorano-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .dorano-products-section .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .dorano-brand-story__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dorano-brand-story__image-wrap::before {
        top: -8px;
        left: -8px;
        right: 8px;
        bottom: 8px;
    }

    .dorano-brand-story__content .dorano-section-header__tag {
        text-align: center;
    }

    .dorano-brand-story__title,
    .dorano-brand-story__text {
        text-align: center;
    }

    .dorano-brand-story__cta {
        display: block;
        text-align: center;
    }
}

@media (max-width: 544px) {
    .dorano-hero {
        height: 60vh;
        min-height: 360px;
    }

    .dorano-hero__slide-content {
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .dorano-hero__dots {
        bottom: 36px;
    }

    .dorano-trust-bar__grid {
        grid-template-columns: 1fr;
    }

    .dorano-trust-bar__item {
        justify-content: flex-start;
        padding: 0 16px;
    }

    .dorano-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dorano-products-section .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dorano-products-section .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
        padding: 10px 10px 4px;
    }

    .dorano-products-section .woocommerce ul.products li.product .price {
        font-size: 13px;
        padding: 0 10px 8px;
    }

    .dorano-products-section .woocommerce ul.products li.product .button {
        margin: 0 10px 10px;
        width: calc(100% - 20px);
        font-size: 12px;
        padding: 8px 12px;
    }

    .dorano-categories,
    .dorano-products-section,
    .dorano-brand-story,
    .dorano-newsletter {
        padding: 48px 0;
    }

    .dorano-newsletter__input {
        border-right: 1px solid rgba(201, 168, 76, 0.3);
        border-radius: 4px;
    }

    .dorano-newsletter__btn {
        border-radius: 4px;
    }

    .dorano-section-header {
        margin-bottom: 32px;
    }

    .dorano-hero__arrow {
        width: 34px;
        height: 34px;
    }

    .dorano-hero__arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    .dorano-newsletter__form {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .dorano-hero {
        min-height: 240px;
        height: 50vh;
    }
}

@media (max-width: 400px) {
    .dorano-products-section .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}
