/* css/store.css - Store Page Styles */

.store-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0e261c 0%, #1a4a35 50%, #0e261c 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 20px 60px;
}

/* Animated background */
.store-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(95, 193, 193, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(5, 85, 40, 0.08) 0%, transparent 60%);
    animation: storeBackgroundFloat 20s ease-in-out infinite;
}

@keyframes storeBackgroundFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -20px) rotate(2deg);
    }

    66% {
        transform: translate(-20px, 30px) rotate(-2deg);
    }
}


/* Container */
.store-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}


/* Title */
.store-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.store-title span {
    color: #5fc1c1;
}


/* Subtitle */
.store-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.6;
}


/* Description */
.store-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}


/* Countdown Timer */
.store-countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 30px;
    flex-wrap: wrap;
}

.store-countdown-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(95, 193, 193, 0.15);
    border-radius: 16px;
    padding: 25px 30px;
    min-width: 100px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.store-countdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(95, 193, 193, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-countdown-item:hover {
    transform: translateY(-5px);
    border-color: rgba(95, 193, 193, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.store-countdown-item:hover::before {
    opacity: 1;
}

.store-countdown-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #5fc1c1;
    display: block;
    line-height: 1;
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
}

.store-countdown-label {
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.store-countdown-open {
    grid-column: 1 / -1;
    padding: 30px 40px;
    min-width: 200px;
}

.store-countdown-open .store-countdown-number {
    font-size: 2rem;
    color: #7ddf9a;
}


/* Notify Section */
.store-notify-section {
    margin-top: 30px;
}

.store-notify-section .store-notify-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}


/* Notify Form - Desktop */
.store-notify-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    align-items: stretch;
}

.store-notify-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    min-width: 200px;
}

.store-notify-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.store-notify-input:focus {
    outline: none;
    border-color: #5fc1c1;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(95, 193, 193, 0.1);
}

.store-notify-btn {
    padding: 14px 35px;
    background: #055528;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    min-width: 150px;
}

.store-notify-btn:hover {
    background: #0a7a3d;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5, 85, 40, 0.4);
}

.store-notify-btn i {
    font-size: 0.9rem;
}

.store-notify-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}


/* Message Container */
#storeNotifyMessage {
    margin-top: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#storeNotifyMessage.success {
    display: block;
    background: rgba(5, 85, 40, 0.15);
    color: #7ddf9a;
    border: 1px solid rgba(5, 85, 40, 0.2);
}

#storeNotifyMessage.error {
    display: block;
    background: rgba(192, 57, 43, 0.15);
    color: #ff7a7a;
    border: 1px solid rgba(192, 57, 43, 0.2);
}


/* Floating Elements */
.store-floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(95, 193, 193, 0.03);
    border: 1px solid rgba(95, 193, 193, 0.05);
    animation: storeFloatElement 15s ease-in-out infinite;
    z-index: 0;
}

.store-floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.store-floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.store-floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 5%;
    animation-delay: -10s;
}

@keyframes storeFloatElement {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}


/* ===== RESPONSIVE ===== */

/* Tablets */
@media (max-width: 768px) {
    .store-hero {
        padding: 30px 15px 40px;
        min-height: 60vh;
    }

    .store-countdown-wrapper {
        gap: 12px;
    }

    .store-countdown-item {
        padding: 18px 20px;
        min-width: 70px;
    }

    .store-countdown-number {
        font-size: 2rem;
    }

    /* Tablet - Form adjustments */
    .store-notify-form {
        max-width: 400px;
        gap: 10px;
    }

    .store-notify-input {
        padding: 12px 16px;
        font-size: 0.95rem;
        min-width: 150px;
    }

    .store-notify-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        min-width: 130px;
    }

    .store-floating-element {
        display: none;
    }
}


/* Mobile Phones */
@media (max-width: 480px) {
    .store-hero {
        /* Increased top spacing to clear the fixed header */
        padding: 70px 12px 30px;
        min-height: 50vh;
    }

    .store-title {
        font-size: 1.8rem;
    }

    .store-subtitle {
        font-size: 0.95rem;
    }

    .store-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    /* Countdown - Mobile */
    .store-countdown-wrapper {
        gap: 6px;
        margin: 20px 0 20px;
    }

    .store-countdown-item {
        padding: 12px 10px;
        min-width: 50px;
        border-radius: 10px;
        flex: 1;
        max-width: 70px;
    }

    .store-countdown-number {
        font-size: 1.4rem;
    }

    .store-countdown-label {
        font-size: 0.5rem;
        letter-spacing: 0.5px;
        margin-top: 4px;
    }

    /* Mobile - Form FULL WIDTH with equal padding */
    .store-notify-form {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        padding: 0;
        gap: 10px;
    }

    .store-notify-input {
        width: 100%;
        min-width: unset;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .store-notify-btn {
        width: 100%;
        min-width: unset;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 10px;
        justify-content: center;
        box-sizing: border-box;
    }

    .store-notify-btn i {
        font-size: 0.9rem;
    }

    /* Message - Mobile */
    #storeNotifyMessage {
        max-width: 100%;
        padding: 10px 14px;
        font-size: 0.9rem;
        margin-top: 12px;
    }

    /* Store countdown open state - Mobile */
    .store-countdown-open {
        padding: 20px 15px;
        min-width: unset;
        width: 100%;
    }

    .store-countdown-open .store-countdown-number {
        font-size: 1.2rem;
    }
}


/* Small Phones */
@media (max-width: 360px) {
    .store-hero {
        /* Keep header clearance on very small screens too */
        padding: 60px 8px 25px;
    }

    .store-title {
        font-size: 1.5rem;
    }

    .store-countdown-item {
        padding: 10px 8px;
        min-width: 42px;
        border-radius: 8px;
    }

    .store-countdown-number {
        font-size: 1.2rem;
    }

    .store-countdown-label {
        font-size: 0.45rem;
        letter-spacing: 0.3px;
    }

    .store-notify-input {
        padding: 12px 16px;
        font-size: 15px;
    }

    .store-notify-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
}


/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .store-hero {
        min-height: 80vh;
        padding: 20px 15px 30px;
    }

    .store-countdown-wrapper {
        gap: 8px;
    }

    .store-countdown-item {
        padding: 10px 14px;
        min-width: 60px;
    }

    .store-countdown-number {
        font-size: 1.6rem;
    }

    .store-notify-form {
        flex-direction: row;
        max-width: 80%;
    }

    .store-notify-input {
        padding: 10px 16px;
        font-size: 14px;
    }

    .store-notify-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 120px;
    }
}