/* ============================================
   SilverHue Studios - Style Guide Subdomain CSS
   Extends main.css with style guide specific styles
   ============================================ */

/* ============================================
   Navigation - Brown Style Guide Button
   ============================================ */

.nav-link.nav-style-guide {
    background: var(--color-accent);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.2);
    transition: all 0.3s ease;
}

.nav-link.nav-style-guide:hover {
    background: var(--color-accent-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* ============================================
   Hero Section - Brown Gradient
   ============================================ */

.style-hero {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, #6d5a42 0%, var(--color-accent) 50%, #6d5a42 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-image-section {
    padding: 10rem 2rem 4rem;
}

/* Subtle film grain texture */
.style-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    pointer-events: none;
}

/* Decorative camera lens circles */
.style-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    pointer-events: none;
}

.style-hero h1,
.style-hero .lead,
.style-hero p {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Introduction Section
   ============================================ */

.intro-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, white 0%, var(--color-light) 100%);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(91, 124, 153, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 115, 85, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.intro-grid h2 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* Quick Tip Box */
.quick-tip {
    background: linear-gradient(135deg, white 0%, var(--color-light) 100%);
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 
        0 8px 24px rgba(30, 58, 95, 0.08),
        0 0 0 1px rgba(30, 58, 95, 0.02);
    position: relative;
}

.quick-tip h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-tip h4::before {
    content: '';
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #6d5a42 100%);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.2);
}

/* ============================================
   Quick Reference Section
   ============================================ */

.quick-reference-section {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reference-card {
    background: linear-gradient(135deg, white 0%, var(--color-light) 100%);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 
        0 4px 12px rgba(30, 58, 95, 0.08),
        0 0 0 1px rgba(30, 58, 95, 0.05);
    transition: all 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 20px rgba(30, 58, 95, 0.12),
        0 0 0 1px rgba(30, 58, 95, 0.05);
}

.reference-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
}

.reference-card h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.reference-card p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   Staggered Guide Sections
   ============================================ */

.guide-section {
    padding: 5rem 0;
    position: relative;
}

.guide-section:nth-child(even) {
    background: linear-gradient(to bottom, var(--color-cream) 0%, #f8f6f0 100%);
    border-top: 1px solid rgba(30, 58, 95, 0.05);
    border-bottom: 1px solid rgba(30, 58, 95, 0.05);
}

.guide-section:nth-child(odd) {
    background: linear-gradient(to bottom, white 0%, #fafafa 100%);
}

/* Subtle background pattern */
.guide-section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(30, 58, 95, 0.01) 60px, rgba(30, 58, 95, 0.01) 61px);
    pointer-events: none;
}

.guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Reverse order for alternating sections */
.guide-section:nth-child(even) .guide-content {
    direction: rtl;
}

.guide-section:nth-child(even) .guide-content > * {
    direction: ltr;
}

.guide-info h2 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Badge styling */
.guide-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, #6d5a42 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.2);
}

/* Photo/visual container */
.guide-visual {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(30, 58, 95, 0.15),
        0 0 0 1px rgba(30, 58, 95, 0.05);
    background: var(--color-cream);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-visual:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 70px rgba(30, 58, 95, 0.2),
        0 0 0 1px rgba(30, 58, 95, 0.05);
}

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

/* Highlight lists with checkmarks */
.guide-highlights {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.guide-highlights li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    transition: all 0.2s ease;
}

.guide-highlights li:hover {
    padding-left: 2.5rem;
    background: rgba(139, 115, 85, 0.02);
}

.guide-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.guide-highlights li:hover::before {
    transform: scale(1.2);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 5rem 0;
    background: var(--color-cream);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.08);
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.12);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.faq-item p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0;
}

.faq-item a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 600;
}

.faq-item a:hover {
    color: var(--color-accent-hover);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-style {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-style h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-style p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

/* ============================================
   Content Page Specific Styles
   ============================================ */

/* Two column layout for content pages */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

/* Content sections for detail pages */
.content-section {
    padding: 4rem 0;
    background: white;
}

.content-section:nth-child(even) {
    background: var(--color-light);
}

.content-section h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.content-section h3 {
    color: var(--color-secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Card styles for tips */
.tip-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.tip-card h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Color palette displays */
.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.color-swatch {
    text-align: center;
}

.color-box {
    height: 80px;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-name {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Do's and Don'ts grid */
.do-dont-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.do-section,
.dont-section {
    padding: 2rem;
    border-radius: var(--border-radius);
}

.do-section {
    background: linear-gradient(135deg, #E8F2F7 0%, #D4E6F1 100%);
    border-left: 4px solid var(--color-secondary);
}

.do-section h4 {
    color: var(--color-primary);
}

.dont-section {
    background: linear-gradient(135deg, #F9F2ED 0%, #F4E8DE 100%);
    border-left: 4px solid var(--color-accent);
}

.dont-section h4 {
    color: var(--color-accent-hover);
}

.do-section ul,
.dont-section ul {
    list-style: none;
    padding-left: 0;
}

.do-section li:before {
    content: '✓ ';
    color: var(--color-secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.dont-section li:before {
    content: '✗ ';
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Checklist styles */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   Enhanced Buttons
   ============================================ */

.btn-primary {
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.25);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .guide-content,
    .intro-grid,
    .two-col,
    .do-dont-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .guide-section:nth-child(even) .guide-content {
        direction: ltr;
    }

    .guide-visual {
        min-height: 300px;
    }

    .style-hero {
        padding: 10rem 1.5rem 3rem;
    }

    .hero-image-section {
        padding: 10rem 1.5rem 3rem;
    }

    .style-hero::after {
        width: 200px;
        height: 200px;
        right: -50px;
    }
}

@media (max-width: 768px) {
    .reference-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reference-card {
        padding: 1.5rem;
    }

    .content-section {
        padding: 3rem 0;
    }
}