/*
Theme Name: 3itadi
Author: Sammy
Description: Custom wordpress theme for 3itadi
Version: 1.0
Text Domain: 3itadi
*/


:root {
  --color-red: #e02424;   /* main accent color */
  --color-black: #111111; /* primary text / headings */
  --color-white: #ffffff; /* background / text contrast */
  --color-gray: #888888;  /* borders, muted text */

  /* Suggested usage */
  --bg-color: var(--color-white);
  --text-color: var(--color-black);
  --accent-color: var(--color-red);
  --muted-color: var(--color-gray);
}

body{
    margin: 0;
    padding: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}


/* Header Styles for 3itadi Theme */
.site-header {
    background: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

/* Header Top Bar */
.header-top-bar {
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.875rem;
}
.manage-products-header-link {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.manage-products-header-link i {
    margin-right: 6px;
    color: #666;
}

.manage-products-header-link:hover {
    color: red;
}

.header-top-content {
 display: flex;
    justify-content: center;
    font-family: cursive;
    font-size: initial;
    font-style: oblique;
}

.header-date {
    opacity: 0.8;
}

/* Header Main Section */
.header-main {
    padding: 5px 0;
}

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

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.site-branding {
    flex-shrink: 0;
}

.site-logo-link {
    display: inline-block;
    text-decoration: none;
}

.site-logo {
    max-height: 80px;
    width: auto;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 0.8;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
}

/* User Account Styles */
.header-user-account {
    display: flex;
    align-items: center;
}

.user-profile-dropdown {
    position: relative;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 0px solid rgba(0, 0, 0, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-black);
}

.user-profile-trigger:hover {
    background-color: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-avatar img,
.user-avatar-placeholder img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.user-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-profile-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.user-profile-dropdown:hover .user-profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.user-profile-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-profile-menu .menu-item:last-child {
    border-bottom: none;
}

.user-profile-menu .menu-item:hover {
    background-color: var(--accent-color);
    color: var(--color-white);
}

.user-profile-menu .menu-item svg {
    flex-shrink: 0;
}

/* Login/Register Buttons */
.login-register-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-login {
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-gray);
}

.btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-register {
    background: var(--accent-color);
    color: var(--color-white);
}

.btn-register:hover {
    background: #c41a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(224, 36, 36, 0.3);
}

/* Navigation Styles */
.main-navigation {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.main-navigation .container {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    color: var(--color-black);
}

.hamburger-box {
    width: 24px;
    height: 18px;
    position: relative;
    display: inline-block;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    border-radius: 1px;
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -6px;
}

.hamburger-inner::after {
    bottom: -6px;
}

.menu-toggle-text {
    font-size: 0.875rem;
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--color-black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 4px;
    margin: 0 2px;
}

.nav-menu > li > a:hover {
    background: var(--accent-color);
    color: var(--color-white);
}

.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-page-ancestor > a {
    background: var(--accent-color);
    color: var(--color-white);
}

/* Dropdown Menus */
.nav-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-menu ul li:last-child a {
    border-bottom: none;
}

.nav-menu ul li a:hover {
    background-color: var(--accent-color);
    color: var(--color-white);
}

/* Search Styles - Always Visible */
.header-search {
    margin-left: auto;
    padding-left: 20px;
}

.search-form {
    display: flex;
    align-items: center;
}



.search-form .search-field {
    padding: 9px 15px;
    border: 1px solid var(--accent-color);
    border-radius: 6px 0 0 6px;
    width: 220px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(224, 36, 36, 0.2);
}

.search-form .search-submit {
        border: 1px solid var(--accent-color);
    background: var(--accent-color);
    color: var(--color-white);
    border: none;
    padding: 10px 15px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.search-form .search-submit:hover {
    background: #c41a1a;
}

/* Responsive Design */
@media (max-width: 992px) {

    .main-navigation{
        display: flex;
    }
    .m-nav{
        display: none !important;
    }
    .header-top-content{
        text-align: center;
    }
}

@media (max-width: 768px) {
    .form-row {
        display: block !important;
    }
    .header-main-inner {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .register-form-wrapper{
        padding: 20px !important;
    }
    .header-main .container{
        padding: 0px !important;
    }
    
    .site-branding {
        order: 1;
    }
    
    .header-user-account {
        order: 2;
    }

    
    .login-register-buttons {
        flex-direction: column;
        gap: 8px;
        margin-left: 40px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.875rem;
    }
    
    .header-search {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

.product-title {

    color: black !important;

}

/* Footer Styles for 3itadi Theme */
.site-footer {
    background: black;
    color: var(--color-white);
    margin-top: auto;
    padding-top: 3rem;
}

.footer-main {
    padding: 00px 0 30px;
}

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

.footer-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.widget-title {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-content p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
    position: relative;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--color-white);
    transform: translateX(8px);
}

.footer-menu a:hover::before {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}
.footer-video {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0px;
}
.m-nav{
    border-top: 0px solid black !important;
    border-bottom: 0px solid black !important;
    display: flex;
}
.footer-video img{
    height: 200px;
    width: 50%;
}

.footer-video video{
      height: 200px;
      width: 50%;
}

#site-navigation .container{
    padding-right: 0px !important;
}
/* Responsive Design */
@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .footer-video img{
    height: 100px;
}
.footer-video video{
      height: 100px;
}
}

@media (max-width: 768px) {
    .footer-main {
        padding: 0px 0 20px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-card {
        padding: 25px;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    .site-branding .site-logo{
            max-height: 80px;
    max-width:  180px !important;
    }
    .login-logo .site-logo {
    max-height: 80px;
    max-width:  180px !important;
}
}

@media (max-width: 480px) {
    .footer-card {
        padding: 20px;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
}

.login-container {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.login-header {
    background: black;
    color: var(--color-white);
    padding: 40px 30px 30px;
    text-align: center;
}

.login-logo {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
}

.login-logo .site-logo {
    max-height: 80px;
    width: auto;
}

.login-logo h1 {
    color: var(--color-white);
    margin: 0;
    font-size: 1.8rem;
}

.login-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.login-header p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.login-form-wrapper {
    padding: 40px 30px;
}

.login-error {
    background: #fee;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #721c24;
}

.login-error p {
    margin: 0;
    font-size: 0.9rem;
}

.login-success {
    background: #eff8ff;
    border: 1px solid #b8daff;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #004085;
}

.login-success p {
    margin: 0;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-black);
    font-size: 0.9rem;
}

.form-group .input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group .input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(224, 36, 36, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.remember-me input {
    margin: 0 8px 0 0;
}

.remember-me span {
    color: var(--color-black);
}

.forgot-password {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #c41a1a;
    text-decoration: underline;
}

.form-submit {
    margin-bottom: 20px;
}

.btn-login {
   
    padding: 14px;
    background: var(--accent-color);
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #c41a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 36, 36, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.register-link {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.register-link p {
    margin: 0;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.register-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #c41a1a;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-page {
        padding: 20px 15px;
    }
    
    .login-container {
        border-radius: 8px;
    }
    
    .login-header {
        padding: 30px 20px 25px;
    }
    
    .login-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .forgot-password {
        align-self: flex-end;
    }
}

/* Loading State */
.btn-login.loading {
    position: relative;
    color: transparent;
}

.btn-login.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 20px;
}

.register-container {
    background: white;

    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

.register-header {
        padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    background: black;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: white;
}
.register-form-wrapper{
     padding: 40px;
}
.register-header h2 {
    margin: 20px 0 10px;
 
}

.register-header p {

    opacity: 0.8;
    font-size: 0.95rem;
    margin: 0;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group .input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group small {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.btn-register {

    padding: 15px;

    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}



.register-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.register-success {
    background: #d1edff;
    color: #155724;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-link a {
    color: red;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}