/*
Theme Name: EJanMay
Theme URI: https://www.ejanmay.com
Author: EJanMay
Author URI: https://www.ejanmay.com
Description: Custom theme for EJanMay Hair Dryers
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ejanmay
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --soft-blue: #e8f4fd;
    --light-blue: #b8dcf0;
    --blue-accent: #00a8ff;
    --blue-accent-dark: #0088cc;
    --gray-50: #fafbfc;
    --gray-100: #f5f7fa;
    --gray-200: #eef1f5;
    --gray-300: #e1e6eb;
    --gray-400: #c8cfd8;
    --gray-500: #9faab7;
    --gray-600: #7a8594;
    --gray-700: #5a6472;
    --gray-800: #3d4551;
    --gray-900: #242b36;
    --white: #ffffff;
    --golden-ratio: 1.618;
    --spacing-xs: 8px;
    --spacing-sm: 13px;
    --spacing-md: 21px;
    --spacing-lg: 34px;
    --spacing-xl: 55px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--soft-blue) 50%, var(--gray-50) 100%);
    background-attachment: fixed;
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header Styles */
.ejanmay-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.ejanmay-header-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.ejanmay-logo {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11px;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.ejanmay-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.ejanmay-nav ul,
.ejanmay-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ejanmay-nav ul {
    display: flex;
    gap: 40px;
}

.ejanmay-nav li {
    position: relative;
}

.ejanmay-nav a {
    font-size: 13px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ejanmay-nav a:hover {
    color: var(--blue-accent);
}

.ejanmay-nav .menu-item-has-children > a::after {
    content: '▼';
    font-size: 9px;
    color: #6b7280;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-link,
.my-account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    color: #1f2937;
    text-decoration: none;
    font-size: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cart-link:hover,
.my-account-link:hover {
    background: #f3f4f6;
    color: var(--blue-accent);
    transform: scale(1.1);
}

.cart-link svg,
.my-account-link svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translateY(7px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translateY(-7px);
}

/* Card Styles */
.ejanmay-card {
    background: linear-gradient(145deg, var(--white) 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.06),
        0 1px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: relative;
}

.ejanmay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.3), transparent);
    pointer-events: none;
}

/* Button Styles */
.ejanmay-btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(145deg, var(--blue-accent) 0%, var(--blue-accent-dark) 100%);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.ejanmay-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

/* Form Styles */
.ejanmay-form-group {
    margin-bottom: var(--spacing-md);
}

.ejanmay-form-label {
    display: block;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.ejanmay-form-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-sm);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
    transition: all 0.3s ease;
}

.ejanmay-form-input:focus {
    outline: none;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .ejanmay-nav {
        gap: 20px;
    }
    
    .ejanmay-nav ul {
        gap: 20px;
    }

    .nav-right {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .ejanmay-header-content {
        padding: 12px 20px !important;
    }

    .ejanmay-logo {
        font-size: 22px !important;
    }

    .logo-subtitle {
        font-size: 9px !important;
    }

    .ejanmay-nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #1f2937;
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
    }

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

    .ejanmay-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .ejanmay-nav li {
        padding: 0 !important;
    }

    .ejanmay-nav a {
        font-size: 16px;
        padding: 14px 15px !important;
        color: white !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: block;
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    .ejanmay-nav a:hover {
        background: rgba(255,255,255,0.1);
    }

    .nav-right {
        flex-direction: row;
        gap: 15px;
        margin-top: 20px;
        justify-content: center;
    }

    .cart-link,
    .my-account-link {
        width: 44px;
        height: 44px;
        justify-content: center;
        background: rgba(255,255,255,0.1);
        color: white !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}