/* BlueWallpaper.online - Main Stylesheet */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 a {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #333;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #3498db;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Search Box */
.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-box button {
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background: #2980b9;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Category Stats */
.category-stats {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.category-stats span {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    color: #1976D2;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.category-card h3 a {
    color: #2c3e50;
}

.category-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Wallpaper Grid */
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.wallpaper-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.wallpaper-item:hover {
    transform: scale(1.05);
}

.wallpaper-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.wallpaper-info {
    padding: 1rem;
}

.wallpaper-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.wallpaper-info p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0;
}

/* Room Grid */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.room-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-3px);
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-card h3 {
    padding: 1rem 1.5rem 0.5rem;
}

.room-card h3 a {
    color: #2c3e50;
}

.room-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* Guide Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.guide-card.featured {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border: 2px solid #FF9800;
}

.guide-card:hover {
    transform: translateY(-3px);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-card h3 {
    margin-bottom: 1rem;
}

.guide-card h3 a {
    color: #2c3e50;
}

.guide-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.guide-meta span {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.guide-card.featured .guide-meta span {
    background: rgba(255, 152, 0, 0.2);
    color: #E65100;
}

/* Value Proposition Section */
.value-proposition {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-3px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin-top: 3rem;
}

#loadMoreBtn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#loadMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Background Patterns */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(52, 152, 219, 0.1) 2px, transparent 0),
        radial-gradient(circle at 75px 75px, rgba(52, 152, 219, 0.1) 2px, transparent 0);
    background-size: 100px 100px;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Wallpaper Actions */
.wallpaper-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-download,
.btn-preview {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.btn-download:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-1px);
}

.btn-preview {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.btn-preview:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    transform: translateY(-1px);
}

/* Modal Styles */
.wallpaper-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-content img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Room Benefits Section */
.room-benefits {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Design Tips Section */
.design-tips {
    background: #f8f9fa;
}

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

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.tip-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tip-card ul {
    list-style: none;
    padding: 0;
}

.tip-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.tip-card li:last-child {
    border-bottom: none;
}

.tip-card strong {
    color: #3498db;
}

/* Trending Section */
.trending-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.trend-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trend-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.trend-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.trend-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    display: inline-block;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.header-content h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: #666;
}

/* Filter Section */
.filters {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.filter-bar {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #2c3e50;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

.search-filter {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.search-filter input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
}

.search-filter button {
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* HowTo Article Styles */
.howto-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.article-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Quick Summary */
.quick-summary {
    background: #f8f9fa;
    padding: 2rem 0;
}

.summary-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #3498db;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.summary-box h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Supplies Section */
.supplies-section {
    padding: 3rem 0;
}

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

.supply-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.supply-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.supply-category ul {
    list-style: none;
    padding: 0;
}

.supply-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.supply-category li:last-child {
    border-bottom: none;
}

/* Steps Section */
.steps-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-tip {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    margin-top: 1rem;
}

.step-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin-top: 1rem;
}

/* Prevention Section */
.prevention-section {
    padding: 3rem 0;
}

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

.prevention-tip {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #3498db;
}

.prevention-tip h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.prevention-tip p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Tool Page Styles */
.tool-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.tool-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tool-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tool-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Main Tool Section */
.tool-main-section {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 80vh;
}

.tool-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Panel Headers */
.panel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.panel-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.panel-header p {
    color: #666;
    font-size: 1rem;
}

/* Color Selection Panel */
.color-selection-panel {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

/* Preview Panel */
.preview-panel {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    min-height: 600px;
}

/* Preset Colors */
.preset-colors h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.color-option {
    text-align: center;
    cursor: pointer;
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background: #f8f9fa;
}

.color-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #e9ecef;
}

.color-option.selected {
    border-color: #3498db;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.color-swatch {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin: 0 auto 1rem;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.color-swatch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    pointer-events: none;
}

.color-option span {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
}

/* Custom Color Input */
.custom-color {
    margin: 2rem 0;
}

.custom-color h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.custom-input {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.custom-input input[type="color"] {
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.custom-input input[type="color"]:hover {
    transform: scale(1.05);
}

.custom-input input[type="text"] {
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    width: 120px;
    text-align: center;
    font-weight: 600;
    transition: border-color 0.3s ease;
}

.custom-input input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Selected Color Display */
.selected-color-display {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.selected-color-display h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.selected-color-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selected-swatch {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.selected-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.color-hex {
    font-size: 1rem;
    color: #666;
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    display: inline-block;
}

/* Live Palettes */
.live-palettes {
    margin-bottom: 2rem;
}

.live-palette-item {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.live-palette-header {
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.live-palette-header h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.live-palette-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.live-palette-style {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    color: #28a745;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Color Scheme Section */
.color-scheme {
    margin-bottom: 2rem;
}

.color-scheme h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.color-label {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

/* Furniture Suggestions */
.furniture-suggestions {
    margin-bottom: 2rem;
}

.furniture-suggestions h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.suggestion-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    font-size: 0.9rem;
    line-height: 1.4;
}

.suggestion-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.25rem;
}

/* Enhanced Palette Preview */
.palette-preview {
    margin-bottom: 2rem;
}

.palette-preview h5 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Large Room Preview */
.room-preview-large {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.wall-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    border-radius: 20px 20px 0 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%);
    background-size: 20px 20px;
}

.furniture-large {
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 35%;
    height: 50%;
    border-radius: 15px 15px 0 0;
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.accent-large {
    position: absolute;
    bottom: 0;
    right: 20%;
    width: 20%;
    height: 30%;
    border-radius: 50% 50% 0 0;
    opacity: 0.8;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.decor-large {
    position: absolute;
    top: 15%;
    right: 10%;
    width: 25%;
    height: 25%;
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Room Labels */
.room-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.label {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.wall-label {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.furniture-label {
    bottom: 25%;
    left: 32%;
    transform: translateX(-50%);
}

.accent-label {
    bottom: 15%;
    right: 30%;
    transform: translateX(50%);
}

.decor-label {
    top: 27%;
    right: 22%;
    transform: translateX(50%);
}

/* Preview Actions */
.preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.generate-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Results Section */
.results-section {
    padding: 4rem 0;
    background: white;
}

.results-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.palette-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.palette-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #e0e0e0;
}

.palette-header h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.palette-description {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.palette-style {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    color: #28a745;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

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

.color-swatch-large {
    height: 120px;
    border-radius: 15px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.color-swatch-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    pointer-events: none;
}

.color-swatch-large:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.color-code {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.base-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.palette-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.copy-btn, .download-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.download-btn:hover {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Palette Preview */
.palette-preview {
    margin: 2rem 0;
    text-align: center;
}

.room-preview {
    width: 100%;
    height: 120px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.wall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    border-radius: 15px 15px 0 0;
}

.furniture {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 30%;
    height: 40%;
    border-radius: 8px 8px 0 0;
    opacity: 0.9;
}

.accent {
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 15%;
    height: 25%;
    border-radius: 50% 50% 0 0;
    opacity: 0.8;
}

.decor {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 20%;
    height: 20%;
    border-radius: 50%;
    opacity: 0.7;
}

.preview-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* Action Buttons */
.palette-actions {
    text-align: center;
    margin-top: 2rem;
}

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.action-btn.secondary {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.action-btn.tertiary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #ddd;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* How It Works */
.how-it-works {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Tips Section */
.tips-section {
    padding: 4rem 0;
}

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

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #3498db;
}

.tip-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for Tool Layout */
@media (max-width: 768px) {
    .tool-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .color-selection-panel {
        position: static;
        margin-bottom: 2rem;
    }
    
    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .color-swatch {
        width: 70px;
        height: 70px;
    }
    
    .custom-input {
        flex-direction: column;
        gap: 1rem;
    }
    
    .selected-color-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .selected-swatch {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .color-swatches {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.5rem;
    }
    
    .color-swatch-large {
        height: 80px;
    }
    
    .preview-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tool-main-section {
        padding: 2rem 0;
    }
    
    .color-selection-panel,
    .preview-panel {
        padding: 1.5rem;
    }
    
    .panel-header h2 {
        font-size: 1.5rem;
    }
    
    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .live-palette-item {
        padding: 1rem;
    }
    
    .room-preview-large {
        height: 200px;
    }
    
    .suggestions-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .suggestion-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .color-swatches {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .color-swatch-large {
        height: 100px;
    }
    
    .label {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .live-palette-header h4 {
        font-size: 1.1rem;
    }
    
    .live-palette-description {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .search-box,
    .load-more,
    .wallpaper-actions,
    .wallpaper-modal,
    .filters,
    .room-benefits,
    .design-tips,
    .trending-section,
    .related-guides,
    .tool-header,
    .palette-actions,
    .how-it-works,
    .tips-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .step-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .palette-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* MVP Cleanup: hide stray leading icon glyphs that appear due to encoding */
.guide-icon,
.value-icon,
.benefit-icon { font-size: 0 !important; }

.hero .cta-button::first-letter,
.quick-download h2::first-letter,
.guides h2::first-letter,
.guide-meta span::first-letter,
.category-stats span::first-letter,
.design-tips h2::first-letter,
.tip-card h3::first-letter,
.related-categories h2::first-letter,
.tool-header h1::first-letter,
.tool-stats span::first-letter,
.color-selection-panel .panel-header h2::first-letter,
.preview-panel .panel-header h2::first-letter,
.palette-preview h5::first-letter,
.furniture-suggestions h5::first-letter,
.color-scheme h5::first-letter,
.palette-actions button::first-letter { font-size: 0; }
