/*
 * Printoloc Theme Premium Design Stylesheet
 * "The Art of Precision"
 */

/* ---------------------------------------------------------
   1. Design Tokens & Variables
--------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-dark: #0a0b0e;
    --bg-card: rgba(18, 22, 32, 0.7);
    --bg-card-hover: rgba(24, 30, 44, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(229, 192, 96, 0.3);
    
    --primary-gradient: linear-gradient(135deg, #f1d280 0%, #b89047 100%);
    --accent-gradient: linear-gradient(135deg, #e5c060 0%, #aa7c11 100%);
    --text-gradient: linear-gradient(90deg, #f1d280 0%, #e5c060 50%, #b89047 100%);
    
    --primary-color: #e5c060;
    --secondary-color: #b89047;
    --accent-color: #aa7c11;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #111827;
    
    /* Override WordPress default block base/contrast styles */
    --wp--preset--color--base: #0a0b0e !important;
    --wp--preset--color--contrast: #f3f4f6 !important;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Structural variables */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Glow Effects */
    --glow-shadow: 0 0 20px rgba(229, 192, 96, 0.15);
    --glow-shadow-strong: 0 0 30px rgba(229, 192, 96, 0.3);
}

/* ---------------------------------------------------------
   2. Global & Reset Styles
--------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark) !important;
}

body {
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Base Layout Container */
.section-container, .footer-container, .header-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Premium Glassmorphic Card base */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--glow-shadow);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    box-shadow: var(--glow-shadow-strong);
    transform: scale(1.03);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    padding: 14px 28px;
}

/* Gradient text */
.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------------------------------------------------------
   3. Header Section (Navbar)
--------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(10, 11, 14, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    height: 70px;
    background: rgba(10, 11, 14, 0.9);
    border-bottom-color: rgba(0, 210, 255, 0.15);
}

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

/* Logo */
.logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo-text span {
    color: var(--primary-color);
}

/* Nav Menu */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #ffffff;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
}

.main-navigation a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

/* Hide mobile menu overlay by default on desktop */
.mobile-navigation-overlay {
    display: none;
}

/* ---------------------------------------------------------
   4. Hero Section
--------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center !important;
    overflow: hidden;
    width: 100%;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229, 192, 96, 0.06) 0%, rgba(170, 124, 17, 0.02) 70%, transparent 100%);
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
}

.hero-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center !important;
}

/* Hero visual model */
.hero-visual {
    display: flex;
    justify-content: center !important;
    position: relative;
    width: 100%;
}

.visual-card {
    padding: 16px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.visual-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.card-indicator {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.75);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ---------------------------------------------------------
   5. Values & Features Section
--------------------------------------------------------- */
.values-section {
    padding: 60px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    padding: 40px 30px;
    text-align: left;
}

.value-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 254, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(0, 242, 254, 0.1);
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ---------------------------------------------------------
   6. Services Section
--------------------------------------------------------- */
.services-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    font-size: 44px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-item:hover .service-image-wrapper img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link i {
    font-size: 12px;
    transition: var(--transition-smooth);
}

.service-item:hover .service-link i {
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   7. Form / Call to Action Section
--------------------------------------------------------- */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.cta-content h2 {
    font-size: 38px;
    margin-bottom: 16px;
    text-align: center;
}

.cta-content > p {
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.precision-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.form-group select option {
    background: var(--bg-dark);
    color: #ffffff;
}

.form-status {
    text-align: center;
    font-size: 15px;
    margin-top: 10px;
}

.form-status.success {
    color: #10b981;
}

.form-status.error {
    color: #ef4444;
}

/* ---------------------------------------------------------
   8. WooCommerce Styles Integration
--------------------------------------------------------- */
.woocommerce-main {
    padding: calc(var(--header-height) + 60px) 0 80px;
}

.woocommerce-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* WooCommerce grids and titles */
.woocommerce .page-title {
    font-size: 44px;
    margin-bottom: 40px;
    text-align: center;
    font-family: var(--font-heading);
}

.woocommerce ul.products li.product {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.woocommerce ul.products li.product:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--glow-shadow);
    transform: translateY(-5px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    margin: 15px 0 10px;
}

.woocommerce ul.products li.product .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .button {
    background: var(--primary-gradient);
    color: var(--text-dark) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 20px;
    border: none;
    width: 100%;
    text-align: center;
    transition: var(--transition-smooth);
}

.woocommerce ul.products li.product .button:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-shadow-strong);
}

/* ---------------------------------------------------------
   9. Footer Section
--------------------------------------------------------- */
.site-footer {
    background: #060709;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 16px;
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--primary-gradient);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: var(--glow-shadow);
    transform: translateY(-3px);
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-menu a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    padding: 30px 0;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.designer {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* ---------------------------------------------------------
   10. Responsive Design Media Queries
--------------------------------------------------------- */
@media (max-width: 991px) {
    /* Typo adjustments */
    .hero-title {
        font-size: 48px;
    }
    
    /* Layouts to grid transitions */
    .hero-container {
        flex-direction: column;
        align-items: center !important;
        gap: 40px;
        text-align: center !important;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation Setup */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none;
    }
    
    .btn-header {
        display: none; /* Hide on mobile header, show in mobile overlay menu */
    }
    
    .site-header {
        height: 64px;
    }
    
    /* Mobile Overlay Menu */
    .mobile-navigation-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 11, 14, 0.98);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    
    .mobile-navigation-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-navigation-container {
        width: 85%;
        max-width: 320px;
        height: 100%;
        background: #0f1115;
        border-right: 1px solid var(--border-color);
        padding: 24px;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: var(--transition-smooth);
    }
    
    .mobile-navigation-overlay.active .mobile-navigation-container {
        transform: translateX(0);
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
    }
    
    .mobile-menu-body ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        gap: 24px;
    }
    
    .mobile-menu-body a {
        font-family: var(--font-heading);
        font-size: 20px;
        font-weight: 600;
        color: #ffffff;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
