/*
Theme Name: Jewelers Essentials
Theme URI: https://jewelersessentials.com
Author: Jewelers Essentials
Author URI: https://jewelersessentials.com
Description: A modern, responsive WordPress theme for Jewelers Essentials - Crafting Digital Brilliance for Your Business. Features a clean, professional design with software showcase, services, and contact sections.
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: jewelers-essentials
Tags: business, software, responsive, modern
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
    background-image: none;
    margin: 0;
    padding: 0;
}

html {
    background: #f5f5f5;
    background-image: none;
}

/* WordPress page structure - restore original width */
#page {
    max-width: 100%;
    margin: 0 auto;
}

.site {
    max-width: 100%;
}

/* Override WordPress default text alignment */
#page,
.site,
#content,
#main,
.content-area,
.entry-content {
    text-align: left;
}

/* Content areas should have normal width constraints */
#content,
#main,
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

body.admin-bar .hero,
body.admin-bar .hero-section {
    margin-top: 0;
}

/* Header */
header,
.site-header {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo,
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '◆';
    color: white;
    font-size: 20px;
}

.nav-links,
.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-links ul li,
.primary-menu li {
    margin: 0;
}

.nav-links a,
.nav-links ul a,
.primary-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links ul a:hover,
.primary-menu a:hover {
    color: #3182ce;
}

.nav-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.btn-primary {
    background: #3182ce;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #2c5282;
}

/* Hero Section - Full width banner that breaks out of container */
.hero,
.hero-section {
    background: #0a0e27;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* Ensure inline style background takes precedence and maintains aspect ratio */
.hero[style*="background"],
.hero-section[style*="background"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Dark overlay for better text readability */
.hero::before,
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.3);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    color: white;
    width: 100%;
    text-align: left;
}

/* Force left alignment on hero section */
.hero,
.hero-section {
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
    display: block;
    margin-left: 0;
    margin-right: auto;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: left;
    display: block;
    margin-left: 0;
    margin-right: auto;
}

.hero .btn-hero {
    background: #40a9ff;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(64, 169, 255, 0.4);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-left: 0;
    margin-right: auto;
}

.hero .btn-hero:hover {
    background: #1890ff;
    box-shadow: 0 6px 20px rgba(64, 169, 255, 0.6);
    transform: translateY(-2px);
}

/* Wavy Divider - Hidden */
.wavy-divider {
    display: none;
    height: 0;
    visibility: hidden;
}

.wavy-divider::before {
    display: none;
}

/* Services Section */
.services,
.services-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2,
.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-card h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card .btn-secondary,
.btn-secondary {
    background: #e2e8f0;
    color: #3182ce;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.service-card .btn-secondary:hover,
.btn-secondary:hover {
    background: #cbd5e0;
}

/* Contact & Testimonials Section */
.contact-testimonials {
    background: #f7fafc;
    padding: 5rem 2rem;
}

.contact-testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-radius: 8px;
}

.testimonials h3 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3182ce 0%, #ff8c00 100%);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.testimonial-text {
    color: #4a5568;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

/* Footer */
footer,
.site-footer {
    background: #1a365d;
    color: white;
    padding: 2rem;
    text-align: center;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Software Page Styles */
.page-header {
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    text-align: center;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    width: 100%;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    display: block;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.software-section {
    padding: 4rem 2rem;
    background: white;
}

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

.software-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.software-intro h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.software-intro p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.8;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.software-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.app-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.software-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.software-card h3 {
    color: #1a365d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.software-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    color: #4a5568;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3182ce;
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-section {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-cta {
    background: white;
    color: #3182ce;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero,
    .hero-section {
        min-height: 500px;
        padding: 4rem 1.5rem;
        background-size: cover;
    }

    .hero h1,
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .nav-links,
    .main-navigation {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .contact-testimonials-container {
        grid-template-columns: 1fr;
    }

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

    .footer-content,
    .footer-container {
        flex-direction: column;
        gap: 1rem;
    }

    .software-grid {
        grid-template-columns: 1fr !important;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
