/*
Theme Name: Hamsan Ltd - Clean Dark Theme
Description: Clean dark WordPress theme with CSS icons, matching new-ui design exactly
Version: 3.0.0
Author: Hamsan Ltd
Text Domain: hamsan-clean
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Grid Background */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -2;
}

.page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-move 20s ease-in-out infinite;
}

.page-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, transparent);
}

@keyframes grid-move {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(20px) translateY(-10px); }
    50% { transform: translateX(-10px) translateY(20px); }
    75% { transform: translateX(15px) translateY(15px); }
}

/* Site Structure */
.site {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Header */
.site-header {
    border-bottom: 1px solid rgba(107, 114, 128, 0.5);
    backdrop-filter: blur(24px);
    background: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-title .logo-bg {
    background: #ffffff;
    color: #000000;
    padding: 0 0.5rem;
    font-weight: 600;
}

/* Navigation */
.main-navigation {
    display: none;
}

@media (min-width: 768px) {
    .main-navigation {
        display: flex;
        align-items: center;
    }
}

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

.nav-menu a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* Mobile Navigation Dropdown */
@media (max-width: 767px) {
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(107, 114, 128, 0.5);
        border-top: none;
        border-radius: 0 0 12px 12px;
        padding: 1rem 0;
        z-index: 999;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-navigation.show {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(107, 114, 128, 0.3);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        color: #ffffff;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        color: #9ca3af;
        padding-left: 0.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-primary:hover {
    background: #ffffff;
    color: #000000;
}

.btn-secondary {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: transparent;
    color: #ffffff;
}

.header-cta {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: #ffffff;
    color: #000000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Main Content */
.site-main {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    color: #9ca3af;
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    height: 100%;
}

/* CSS Icons */
.icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    position: relative;
    color: #9ca3af;
    flex-shrink: 0;
}

.icon-chef::before {
    content: "👨‍🍳";
    font-size: 2rem;
    display: block;
}

.icon-chef {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.icon-chef::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-chef::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 8px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.icon-cart {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.icon-cart::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-cart::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 40%;
    width: 12px;
    height: 2px;
    background: currentColor;
}

.icon-calendar {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.icon-calendar::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-calendar::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: currentColor;
}

.icon-activity {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.icon-activity::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.icon-activity::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 30%;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.icon-trash {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.icon-trash::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 20px;
    border: 2px solid currentColor;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-trash::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: currentColor;
}

.icon-sparkles {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.icon-sparkles::before {
    content: '✦';
    font-size: 1.5rem;
    color: currentColor;
}

.icon-users {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.icon-users::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 30%;
    left: 35%;
}

.icon-users::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 30%;
    right: 35%;
}

.icon-star {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.icon-star::before {
    content: '★';
    font-size: 1.5rem;
    color: currentColor;
}

.icon-phone {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    position: relative;
    margin-right: 0.5rem;
}

.icon-phone::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-arrow {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    position: relative;
    margin-left: 0.5rem;
}

.icon-arrow::before {
    content: '→';
    font-size: 1rem;
    color: currentColor;
}

/* Feature Cards */
.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #9ca3af;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    text-align: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-label {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-quote {
    color: #d1d5db;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.testimonial-author {
    font-weight: 600;
    color: #ffffff;
}

/* Newsletter */
.newsletter-section {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .form-group {
        flex-direction: row;
    }
}

.form-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 0.375rem;
    color: #ffffff;
    font-size: 1rem;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    outline: none;
    border-color: #ffffff;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(107, 114, 128, 0.5);
    backdrop-filter: blur(24px);
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h3 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(107, 114, 128, 0.5);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* WordPress Core */
img { max-width: 100%; height: auto; }
.alignwide { max-width: 1200px; margin: 0 auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* Utilities */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}