/**
 * Almaza Shop Main Stylesheet
 * Diamond Theme
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
    background: linear-gradient(145deg, #fcf5ea 0%, #ffefe2 100%);
    color: #2e241f;
    overflow-x: hidden;
}

:root {
    --diamond-fire: #ff6f61;
    --diamond-gold: #f4b942;
    --diamond-herb: #3d6e4a;
    --diamond-spark: #b9b0e0;
    --diamond-terra: #d34e24;
    --diamond-cream: #fff7ed;
    --diamond-charcoal: #2e241f;
    --diamond-sage: #7a9e7e;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes diamond-glow {
    0% { filter: drop-shadow(0 0 5px rgba(244, 185, 66, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 111, 97, 0.6)); }
    100% { filter: drop-shadow(0 0 5px rgba(244, 185, 66, 0.4)); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slide-up {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes gentle-shake {
    0%,100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

.animate-float { animation: float 5s ease-in-out infinite; }
.animate-diamond-glow { animation: diamond-glow 3s infinite; }
.animate-spin-slow { animation: spin-slow 14s linear infinite; }

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

/* Logo */
.diamond-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 6px 8px rgba(210, 130, 30, 0.3));
    transition: all 0.3s;
    animation: diamond-glow 3s infinite;
}

.logo-img:hover {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 0 20px var(--diamond-gold));
}

.logo-text h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(145deg, #4a2c1a, var(--diamond-terra));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.logo-text span {
    font-size: 1rem;
    letter-spacing: 4px;
    color: var(--diamond-herb);
    display: block;
    margin-top: -5px;
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.5rem 0 2rem 0;
    animation: slide-up 1s ease-out;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    font-weight: 500;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--diamond-charcoal);
    font-size: 1.1rem;
    position: relative;
    transition: 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--diamond-fire);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--diamond-terra); }

.shop-link {
    background: var(--diamond-herb);
    color: white !important;
    padding: 10px 28px;
    border-radius: 40px;
    box-shadow: 0 8px 14px rgba(61, 110, 74, 0.4);
    transition: all 0.3s;
}

.shop-link:hover {
    background: #2d5a38;
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 14px 20px rgba(61, 110, 74, 0.5);
}

.shop-link::after { display: none; }

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--diamond-fire);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Google Translate */
#google_translate_element {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    padding: 5px 0;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    margin: 1rem 0 4rem 0;
}

.hero h2 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(to right, #4a2c1a, var(--diamond-terra));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 i { 
    color: var(--diamond-gold); 
    font-size: 2.8rem; 
    margin-right: 6px; 
    -webkit-text-fill-color: initial; 
    background: none; 
}

.hero p {
    font-size: 1.2rem;
    margin: 1.5rem 0 2rem 0;
    color: #4f3f38;
    max-width: 500px;
    border-left: 5px solid var(--diamond-gold);
    padding-left: 1.4rem;
}

.cta-buttons { 
    display: flex; 
    gap: 1.4rem; 
    flex-wrap: wrap; 
}

.btn-primary {
    background: var(--diamond-fire);
    border: none;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 6px 0 #b1472b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 0 #b1472b, 0 15px 20px rgba(211, 78, 36, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--diamond-herb);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--diamond-herb);
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--diamond-herb);
    color: white;
    transform: scale(1.05);
}

.hero-visual { 
    position: relative; 
    display: flex; 
    justify-content: center; 
}

.floating-card {
    background: white;
    border-radius: 30px;
    padding: 1.2rem 1.2rem 0.8rem;
    box-shadow: 0 40px 35px -10px rgba(94,58,75,0.25);
    border: 4px solid rgba(255,255,255,0.9);
    transform: rotate(1deg);
    animation: float 6s ease-in-out infinite;
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

.floating-card img {
    width: 260px; 
    border-radius: 24px; 
    object-fit: cover;
    border: 2px solid #f9e2cf; 
    box-shadow: 0 15px 20px -5px rgba(0,0,0,0.2);
}

.floating-card p {
    margin-top: 12px; 
    font-weight: 600; 
    color: var(--diamond-charcoal);
    background: #fef0e3; 
    padding: 6px 22px; 
    border-radius: 60px;
}

.spice-deco { 
    position: absolute; 
    font-size: 3.2rem; 
    opacity: 0.5;
    color: var(--diamond-gold); 
    z-index:2; 
}

.deco1 { 
    top: -15px; 
    left: 0; 
    animation: spin-slow 12s linear infinite; 
}

.deco2 { 
    bottom: -10px; 
    right: 20px; 
    animation: gentle-shake 3s infinite; 
    color: var(--diamond-herb); 
}

/* Section Titles */
.section-title {
    font-size: 2.5rem; 
    font-weight: 600; 
    color: var(--diamond-charcoal);
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 2.5rem;
    animation: slide-up 1s;
}

.section-title i { 
    color: var(--diamond-fire); 
    font-size: 2.2rem; 
}

.diamond-badge {
    background: linear-gradient(145deg, #fff0e0, white);
    border-radius: 20px 40px; 
    padding: 0.3rem 1.5rem;
    border: 2px solid var(--diamond-gold); 
    color: var(--diamond-herb);
    font-weight: 600;
}

/* Product Grid */
.product-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; 
    margin: 3rem 0 5rem 0;
}

.product-card {
    background: white; 
    border-radius: 40px 20px; 
    padding: 1.8rem 1rem;
    box-shadow: 0 25px 35px -10px rgba(94,58,75,0.15);
    transition: all 0.4s; 
    text-align: center; 
    border: 2px solid #fffaf2;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card::before {
    content: "💎"; 
    position: absolute; 
    top: -10px; 
    left: 20px;
    font-size: 1.8rem; 
    opacity: 0.3; 
    transform: rotate(-15deg);
}

.product-card:hover::before { 
    opacity: 1; 
    color: var(--diamond-gold); 
    transform: rotate(0deg) scale(1.2); 
}

.product-card:hover {
    transform: scale(1.03) translateY(-12px);
    border-color: var(--diamond-gold);
}

.product-img {
    width: 140px; 
    height: 140px; 
    object-fit: cover;
    border-radius: 50% 30%; 
    margin: 0 auto 1rem; 
    display: block;
    border: 4px solid white; 
    box-shadow: 0 15px 20px -8px rgba(61,110,74,0.4);
}

.product-card:hover .product-img {
    transform: scale(1.05) rotate(2deg);
    border-radius: 30% 50%;
}

.product-card h3 { 
    font-size: 1.8rem; 
    font-weight: 600; 
    color: #392e28;
}

.product-card p { 
    color: #6b584b; 
    margin: 0.5rem 0 1rem; 
    font-style: italic; 
}

.price {
    font-size: 1.6rem; 
    font-weight: 700; 
    color: var(--diamond-herb);
    display: inline-block; 
    background: #eef4e9; 
    padding: 6px 20px;
    border-radius: 40px; 
    margin: 10px 0;
}

.shop-icon {
    background: var(--diamond-fire); 
    color: white; 
    width: 48px; 
    height: 48px;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin: 0 auto; 
    font-size: 1.4rem; 
    transition: 0.3s;
    box-shadow: 0 6px 12px rgba(255,111,97,0.5);
    cursor: pointer;
}

.product-card:hover .shop-icon { 
    transform: rotate(360deg); 
    background: var(--diamond-herb); 
}

/* Cultivation Banner */
.cultivation-banner {
    background: linear-gradient(120deg, #ffead4, #fedfc7);
    border-radius: 80px 20px; 
    padding: 2.5rem 3rem;
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: center;
    margin: 5rem 0; 
    border: 2px solid white; 
    position: relative; 
    overflow: hidden;
}

.cultivation-banner::before {
    content: "💎💎💎"; 
    font-size: 7rem; 
    position: absolute;
    right: -30px; 
    bottom: -40px; 
    opacity: 0.1; 
    color: var(--diamond-herb);
    transform: rotate(20deg); 
    pointer-events: none;
}

.banner-text { 
    max-width: 50%; 
}

.banner-text h3 { 
    font-size: 2.5rem; 
    color: var(--diamond-charcoal); 
}

.banner-text p { 
    font-size: 1.2rem; 
    margin-top: 0.8rem; 
}

.banner-text i { 
    color: var(--diamond-terra); 
    margin-right: 8px; 
}

.image-group { 
    display: flex; 
    gap: 1.5rem; 
    align-items: center;
    flex-wrap: wrap; 
}

.farm-image, .packaging-image {
    width: 180px; 
    height: 140px; 
    object-fit: cover;
    border-radius: 80px 20px; 
    border: 5px solid white;
    box-shadow: 0 20px 25px -5px #b95b37; 
    transition: 0.4s;
}

.farm-image:hover, .packaging-image:hover { 
    transform: scale(1.03) rotate(1deg); 
}

.packaging-badge {
    background: white; 
    padding: 1.2rem 2rem; 
    border-radius: 60px 10px;
    font-weight: 700; 
    color: var(--diamond-herb); 
    box-shadow: 0 10px 0 #e9cba8;
    animation: diamond-glow 2.5s infinite; 
    display: inline-flex;
    align-items: center; 
    gap: 15px;
}

/* Store Highlight */
.store-highlight {
    background: white; 
    border-radius: 100px 20px; 
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center;
    padding: 2rem 3rem; 
    margin: 3rem 0; 
    border: 3px dashed var(--diamond-fire);
}

.store-highlight h2 {
    font-size: 2.2rem; 
    background: linear-gradient(130deg, #d34e24, #b1472b);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.big-shop-link {
    background: var(--diamond-herb); 
    color: white; 
    padding: 18px 45px;
    border-radius: 60px; 
    font-size: 1.5rem; 
    font-weight: 700;
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    gap: 15px; 
    transition: 0.3s;
    box-shadow: 0 15px 20px rgba(61,110,74,0.3);
}

.big-shop-link:hover {
    background: #2d5a38; 
    transform: scale(1.05) rotate(-0.5deg);
    box-shadow: 0 25px 30px rgba(61,110,74,0.5);
}

/* Footer */
.main-footer {
    background: #2e241f; 
    color: #f0e4d5; 
    border-radius: 60px 60px 0 0;
    padding: 3rem 2rem 1.5rem; 
    margin-top: 5rem;
}

.footer-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem; 
    max-width: 1300px; 
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 1.6rem; 
    color: var(--diamond-gold);
    border-left: 5px solid var(--diamond-fire); 
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col p { 
    color: #e0cfc0; 
    margin-bottom: 1rem; 
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.footer-col input, .footer-col select {
    width: 100%; 
    padding: 12px 15px; 
    border-radius: 50px; 
    border: none;
    margin: 8px 0 15px; 
    background: #fff3e6;
}

.footer-col button {
    background: var(--diamond-gold); 
    border: none; 
    padding: 12px 25px;
    border-radius: 60px; 
    font-weight: 700; 
    color: #2e241f; 
    cursor: pointer;
    transition: 0.2s; 
    box-shadow: 0 5px 0 #b57f2a; 
    width: 100%; 
    font-size: 1.1rem;
}

.footer-col button:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 0 #b57f2a; 
}

.social-footer a {
    color: var(--diamond-fire);
    font-size: 2.2rem;
    margin-right: 20px;
    transition: 0.2s;
    text-decoration: none;
}

.social-footer a:hover { 
    color: var(--diamond-gold); 
    transform: scale(1.2) translateY(-5px);
    display: inline-block;
}

.footer-bottom {
    text-align: center; 
    padding-top: 3rem; 
    margin-top: 2rem;
    border-top: 1px solid #5b4a3e; 
    color: #bbaa9b;
}

.footer-bottom a { 
    color: white; 
    text-decoration: none; 
}

.footer-bottom a:hover { 
    text-decoration: underline; 
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.table th {
    background: var(--diamond-herb);
    color: white;
    padding: 12px;
    text-align: left;
}

.table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.table tr:hover {
    background: #f9f9f9;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--diamond-charcoal);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0d6cc;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.2s;
}

.form-control:focus {
    border-color: var(--diamond-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 185, 66, 0.1);
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(244, 185, 66, 0.2);
}

.card-header {
    border-bottom: 2px solid var(--diamond-gold);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 850px) {
    .hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .hero p { 
        margin-left: auto; 
        margin-right: auto; 
    }
    
    .cta-buttons { 
        justify-content: center; 
    }
    
    .cultivation-banner { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .banner-text { 
        max-width: 100%; 
    }
    
    .image-group { 
        justify-content: center; 
    }
    
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}