/*
Theme Name: Greenville Jewelers
Theme URI: https://greenvillejewelers.com
Template: twentytwentyfive
Description: Custom WordPress theme for Greenville Jewelers - Expert jewelry repair, watch services, and custom design in Greer, SC
Version: 1.0
Author: Greenville Jewelers
Author URI: https://greenvillejewelers.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenville-jewelers
*/

/* ========================================
   GREENVILLE JEWELERS CUSTOM STYLES
======================================== */

/* Color Palette */
:root {
    --jewelry-gold: #D4AF37;
    --jewelry-silver: #C0C0C0;
    --jewelry-rose-gold: #B76E79;
    --jewelry-dark: #2C2C2C;
    --jewelry-light: #F8F6F3;
    --jewelry-accent: #8B7355;
}

/* Typography */
body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Site Title/Logo - Black color */
.wp-site-blocks h1.wp-block-site-title,
.wp-block-site-title a {
    color: #2C2C2C !important;
}

/* Hero Section */
.jewelry-hero {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(248, 246, 243, 0.5) 100%);
    padding: 80px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark overlay for better text readability */
.wp-block-cover.jewelry-hero::before {
    background: rgba(0, 0, 0, 0.6) !important;
}

/* White content box for better readability - Glass effect */
.wp-block-cover.jewelry-hero .wp-block-cover__inner-container {
    background: rgba(255, 255, 255, 0.35);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.jewelry-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #2C2C2C !important;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: none !important;
}

.jewelry-hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #4A4A4A !important;
    margin-bottom: 30px;
    text-shadow: none !important;
}

/* Buttons */
.wp-block-button.jewelry-btn .wp-block-button__link {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.wp-block-button.jewelry-btn-primary .wp-block-button__link {
    background: var(--jewelry-gold);
    border: none;
}

.wp-block-button.jewelry-btn-primary .wp-block-button__link:hover {
    background: var(--jewelry-accent);
    transform: scale(1.05);
}

.wp-block-button.jewelry-btn-secondary .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--jewelry-gold);
    color: var(--jewelry-dark);
}

.wp-block-button.jewelry-btn-secondary .wp-block-button__link:hover {
    background: var(--jewelry-gold);
    color: white;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--jewelry-dark);
}

.services-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--jewelry-accent);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-section h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--jewelry-gold) 0%, var(--jewelry-rose-gold) 100%);
    margin: 20px auto 0;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jewelry-gold) 0%, var(--jewelry-rose-gold) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .wp-block-image {
    margin: 0;
    height: 240px;
    overflow: hidden;
}

.service-card .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .wp-block-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 30px;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--jewelry-dark);
    position: relative;
    padding-left: 28px;
}

.service-card h3::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--jewelry-gold);
    font-size: 1.2rem;
}

.service-card p {
    color: var(--jewelry-accent);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-card ul li {
    color: #666;
    font-size: 0.95rem;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.service-card ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--jewelry-gold);
    font-size: 0.7rem;
    top: 11px;
}

.service-cta {
    display: inline-block;
    margin-top: 15px;
    color: var(--jewelry-gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.service-cta:hover {
    color: var(--jewelry-rose-gold);
    padding-left: 5px;
}

.service-cta::after {
    content: ' →';
    transition: transform 0.3s;
    display: inline-block;
}

.service-cta:hover::after {
    transform: translateX(5px);
}

/* Service Features Display */
.service-features {
    margin: 15px 0;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features ul li {
    color: #666;
    font-size: 0.95rem;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.service-features ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--jewelry-gold);
    font-size: 0.7rem;
    top: 11px;
}

/* Gallery/Collection Grid */
.jewelry-grid .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.jewelry-item {
    background: white !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jewelry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Override dark section text color for gallery items */
.dark-section .jewelry-item * {
    color: var(--jewelry-dark) !important;
}

.dark-section .jewelry-item .wp-block-post-title a {
    color: var(--jewelry-dark) !important;
}

.dark-section .jewelry-item .wp-block-post-excerpt p {
    color: var(--jewelry-accent) !important;
}

.jewelry-item .wp-block-post-featured-image {
    margin: 0;
}

.jewelry-item .wp-block-post-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jewelry-item:hover .wp-block-post-featured-image img {
    transform: scale(1.1);
}

.jewelry-info {
    padding: 30px;
    text-align: center;
}

.jewelry-info h3,
.jewelry-item .wp-block-post-title,
.jewelry-item .wp-block-post-title a {
    font-size: 1.8rem;
    color: var(--jewelry-dark) !important;
    margin-bottom: 10px;
}

.jewelry-item .wp-block-post-excerpt,
.jewelry-item .wp-block-post-excerpt p {
    color: var(--jewelry-accent) !important;
}

/* Contact Section */
.contact-section {
    background: var(--jewelry-light);
    padding: 80px 20px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--jewelry-dark);
}

.contact-card p {
    color: var(--jewelry-accent);
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-card a {
    color: var(--jewelry-gold);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--jewelry-rose-gold);
}

/* About Section */
.about-section {
    padding: 80px 20px;
}

.about-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--jewelry-dark);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--jewelry-accent);
    margin-bottom: 15px;
}

/* Dark Background Sections */
.dark-section {
    background: var(--jewelry-dark);
    color: var(--jewelry-light);
}

.dark-section h2 {
    color: var(--jewelry-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section h2 {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .jewelry-grid .wp-block-post-template {
        grid-template-columns: 1fr;
    }
}

/* WordPress Block Editor Specific */
.wp-block-group.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Section Headings */
.section-heading {
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: var(--jewelry-gold);
    margin: 20px auto 0;
}

/* Footer Styling */
.wp-block-group.has-contrast-background-color {
    background: var(--jewelry-dark) !important;
}

.wp-block-group.has-contrast-background-color h3,
.wp-block-group.has-contrast-background-color h4 {
    color: var(--jewelry-gold) !important;
    margin-bottom: 15px;
}

.wp-block-group.has-contrast-background-color p {
    color: var(--jewelry-light) !important;
}

.wp-block-group.has-contrast-background-color a {
    color: var(--jewelry-gold) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-group.has-contrast-background-color a:hover {
    color: var(--jewelry-rose-gold) !important;
}

.wp-block-group.has-contrast-background-color ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-group.has-contrast-background-color ul li {
    margin-bottom: 8px;
}

.wp-block-group.has-contrast-background-color ul li a {
    color: var(--jewelry-light) !important;
    font-size: 0.95rem;
}

.wp-block-group.has-contrast-background-color ul li a:hover {
    color: var(--jewelry-gold) !important;
}

