/* ============================================
   AK Collection - Premium CSS
   Luxury Theme: White + Gold + Black
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #D4AF37;
    --secondary-color: #000000;
    --light-color: #FFFFFF;
    --dark-bg: #0a0a0a;
    --light-bg: #f8f8f8;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #FFD700;
    --light-color: #1a1a1a;
    --light-bg: #0a0a0a;
    --text-dark: #f5f5f5;
    --text-light: #b0b0b0;
    --glass-bg: rgba(20, 20, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

body.dark-mode {
    background-color: var(--dark-bg);
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease-in-out 2.5s forwards;
}

body.dark-mode .loading-screen {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

body.dark-mode .navbar {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #000000, #333333);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-container {
    margin-bottom: 30px;
    animation: zoomIn 1s ease-out;
}

.hero-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
}

.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #FFD700);
    color: var(--secondary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-small:hover {
    background: #FFD700;
}

.btn-large {
    padding: 16px 50px;
    font-size: 1.1rem;
}

/* ============================================
   GLASS MORPHISM
   ============================================ */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

body.dark-mode .glass-card:hover {
    background: rgba(20, 20, 30, 0.9);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

/* ============================================
   LINKS SECTION
   ============================================ */

.links-section {
    background: var(--light-bg);
    position: relative;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.link-card {
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    cursor: pointer;
}

.link-card:hover {
    color: var(--primary-color);
}

.link-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.link-card:hover .link-icon {
    transform: scale(1.2) rotate(5deg);
}

.link-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.link-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.whatsapp-icon { color: #25D366; }
.instagram-icon { color: #E4405F; }
.facebook-icon { color: #1877F2; }
.astore-icon { color: var(--primary-color); }

/* ============================================
   DISCOUNT SECTION
   ============================================ */

.discount-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    position: relative;
}

body.dark-mode .discount-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.discount-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.discount-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.discount-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.discount-code-container {
    margin-bottom: 30px;
}

.discount-code-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
}

.discount-code {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    flex: 1;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.copy-icon {
    font-size: 1.2rem;
}

.discount-info {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.discount-feedback {
    min-height: 20px;
    color: #27AE60;
    font-size: 0.9rem;
    font-weight: 600;
}

.discount-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.benefit-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 700;
}

.discount-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.discount-badge {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
    animation: spin 10s linear infinite;
}

.premium-card {
    padding: 50px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
    background: var(--light-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-price {
    color: var(--primary-color);
    font-weight: 600;
}

.view-all-container {
    display: flex;
    justify-content: center;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */

.why-section {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

body.dark-mode .why-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 40px 30px;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   QR SECTION
   ============================================ */

.qr-section {
    background: var(--light-color);
    padding: 60px 0;
}

.qr-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.qr-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.qr-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.qr-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-image img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.qr-subtitle {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.footer-tagline {
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.back-to-top-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-top-link:hover {
    text-decoration: underline;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #20BA63);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 500;
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.share-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    z-index: 500;
}

.share-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.share-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--light-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        margin-top: 70px;
        min-height: auto;
        padding: 60px 0;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-logo {
        height: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .discount-card {
        grid-template-columns: 1fr;
    }

    .discount-visual {
        order: -1;
    }

    .discount-badge {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }

    .qr-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .link-card {
        padding: 25px 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .share-button {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .premium-card {
        padding: 30px 20px;
    }

    .nav-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-logo {
        height: 60px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .discount-code {
        font-size: 1.5rem;
    }

    .discount-code-box {
        flex-direction: column;
        gap: 10px;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qr-image img {
        max-width: 150px;
    }

    .premium-card {
        padding: 20px;
    }

    .discount-content h2 {
        font-size: 1.8rem;
    }

    .qr-content h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .floating-whatsapp,
    .share-button {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .glass-card {
        border-width: 2px;
    }

    .btn {
        border: 2px solid var(--text-dark);
    }
}
