/* ===================================
   ADETUTU HAIR - COMPONENTS STYLESHEET
   Buttons, forms, cards, and UI components
   =================================== */

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, #d4af37, #f4e4bc, #d4af37);
    background-size: 200% 100%;
    color: #1a0f0a;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-position: -100% 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.shop-button {
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    color: #1a0f0a;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    text-align: center;
    padding: 40px 20px;
    background: #fafafa;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card::before {
    content: '👑';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    opacity: 0.5;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #d4af37;
    font-family: 'Georgia', serif;
}

.product-card .price {
    font-size: 20px;
    color: #d4af37;
    font-weight: bold;
    margin-top: 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    padding: 30px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

/* Newsletter Form */
.newsletter-container {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 2px solid rgba(212,175,55,0.2);
    backdrop-filter: blur(10px);
}

.crown-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.crown-divider > div:first-child,
.crown-divider > div:last-child {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    flex: 1;
}

.crown-divider > div:nth-child(2) {
    margin: 0 20px;
    font-size: 30px;
    animation: logoGlow 3s ease-in-out infinite;
}

.email-input-container {
    display: flex;
    gap: 15px;
    align-items: stretch;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.email-input-container input {
    flex: 1;
    min-width: 280px;
    padding: 18px 25px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.email-input-container input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1), inset 0 2px 5px rgba(0,0,0,0.05);
    outline: none;
}

.subscribe-btn {
    padding: 18px 35px;
    background: linear-gradient(135deg, #d4af37, #f4e4bc, #d4af37);
    background-size: 200% 100%;
    color: #1a0f0a;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

.subscribe-btn:hover {
    background-position: -100% 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Royal Benefits */
.royal-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.benefit-item {
    text-align: center;
    max-width: 150px;
}

.benefit-item > div:first-child {
    font-size: 30px;
    margin-bottom: 8px;
}

.benefit-item > div:last-child {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

/* Newsletter Success Message */
#newsletter-success > div {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 20px;
    border-radius: 15px;
    animation: successSlide 0.5s ease;
}

/* Message Alerts */
.email-error {
    color: #ff4757;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px 15px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ff4757;
    animation: slideDown 0.3s ease;
}

.already-subscribed-message {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    font-size: 14px;
    margin-top: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    animation: slideDown 0.3s ease;
    text-align: center;
}

/* Floating Newsletter Elements */
.newsletter-crown {
    position: absolute;
    pointer-events: none;
}

/* Cart Count Badge */
#cart-count {
    background: #d4af37;
    color: #1a0f0a;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    text-align: center;
}

/* Currency Display */
#currency-display {
    font-size: 12px;
    opacity: 0.8;
    padding: 5px 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

#currency-display:hover {
    opacity: 1;
}

/* Temporary Messages */
.temporary-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    z-index: 10000;
    font-weight: 600;
    animation: slideInRight 0.5s ease;
}

/* Why Choose Section */
.why-choose {
    background: #f9f7f5;
    padding: 100px 50px;
    text-align: center;
}

.why-choose h2 {
    font-size: 48px;
    margin-bottom: 50px;
    color: #1a0f0a;
    font-weight: 300;
    letter-spacing: 3px;
    font-family: 'Georgia', serif;
}
