/* Critical CSS - Above the fold styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header - Critical for first paint */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
}

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

.nav-logo, .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-cta {
  background: var(--primary-color);
  color: white !important;
  padding: 0.7rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.nav-cta:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Hero - Critical for LCP */
.hero {
  background: var(--gradient-primary);
  color: white;
  padding: 150px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="white" opacity="0.1"><circle cx="200" cy="200" r="100"/><circle cx="800" cy="300" r="150"/><circle cx="300" cy="700" r="80"/><circle cx="700" cy="800" r="120"/></svg>') no-repeat;
  background-size: cover;
  animation: float 20s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.hero h1, .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  color: #e2e8f0;
}

.hero-description {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Blog Content Styles */
.blog-content {
  background: white;
  padding: 4rem 0;
  min-height: 80vh;
}

.blog-article {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  margin-bottom: 2rem;
}

.blog-article h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 1rem;
  position: relative;
}

.blog-article h3 {
  font-size: 1.8rem;
  color: var(--dark-color);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-article h4 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.blog-article p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
}

.blog-article ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.blog-article li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Overview Cards */
.paint-overview, .chemical-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.paint-card, .chem-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid #f1f5f9;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.paint-card:hover, .chem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.paint-icon, .chem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.paint-card h3, .chem-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.price-range {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.rating {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Section Styles */
.interior-paint-section, .waterproofing-section, .concrete-additives-section, 
.adhesives-section, .repair-materials-section, .application-areas,
.chemical-cost-analysis, .quality-control, .sustainability-section,
.storage-principles, .cement-storage, .steel-storage, .ceramic-storage,
.wood-storage, .site-storage, .security-insurance, .cost-analysis {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8fafc;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
}

.interior-paint-types, .waterproofing-types, .additive-types, .adhesive-types,
.repair-types, .storage-principles, .moisture-protection, .rust-protection,
.ceramic-handling, .moisture-control, .layout-planning, .physical-security {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.paint-type-card, .waterproof-card, .additive-card, .adhesive-card,
.repair-card, .principle-card, .protection-item, .rust-item,
.handling-item, .moisture-item, .zone-item, .security-measure {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  position: relative;
}

.paint-type-card:hover, .waterproof-card:hover, .additive-card:hover,
.adhesive-card:hover, .repair-card:hover, .principle-card:hover,
.protection-item:hover, .rust-item:hover, .handling-item:hover,
.moisture-item:hover, .zone-item:hover, .security-measure:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.premium {
  border: 2px solid var(--secondary-color);
  position: relative;
}

.premium-badge {
  position: absolute;
  top: -8px;
  right: 1rem;
  background: var(--secondary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.principle-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  display: block;
}

/* Tables */
.comparison-table, .performance-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.comparison-table table, .performance-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th, .performance-table th,
.comparison-table td, .performance-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th, .performance-table th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

.comparison-table tr:hover, .performance-table tr:hover {
  background: #f8fafc;
}

/* Special Elements */
.exterior-challenges, .primer-benefits, .color-psychology, .surface-prep,
.painting-techniques, .climate-challenges, .izmir-recommendations,
.expert-tips, .future-trends {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.challenge-item, .benefit-item, .color-effect, .prep-step, .technique-card,
.rec-item, .tip-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.challenge-item:hover, .benefit-item:hover, .color-effect:hover,
.prep-step:hover, .technique-card:hover, .rec-item:hover, .tip-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.color-sample {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}

.color-sample.blue { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.color-sample.green { background: linear-gradient(135deg, #10b981, #059669); }
.color-sample.warm { background: linear-gradient(135deg, #f59e0b, #d97706); }
.color-sample.neutral { background: linear-gradient(135deg, #6b7280, #374151); }

/* Cost Scenarios */
.cost-scenarios, .cost-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.cost-scenario, .cost-category, .facility-size {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.cost-scenario:hover, .cost-category:hover, .facility-size:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cost-breakdown {
  margin-top: 1rem;
}

.cost-breakdown p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.cost-breakdown p:last-child {
  border-bottom: none;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-secondary);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 200" fill="white" opacity="0.1"><path d="M0,100 Q250,150 500,100 T1000,100 V200 H0 Z"/></svg>') no-repeat bottom;
  background-size: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

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

.cta-actions .btn {
  background: white;
  color: var(--dark-color);
}

.cta-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 3rem 0 2rem;
}

.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: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p, .footer-section a {
  color: #d1d5db;
  text-decoration: none;
  line-height: 1.8;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

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

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

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  animation: fadeInUp 0.6s ease-out;
}

/* Conclusion Section */
.conclusion {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin: 3rem 0;
  border: 2px solid var(--accent-color);
}

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

.roi-calculation, .roi-example {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-article {
    padding: 2rem;
  }
  
  .hero h1, .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero h1, .hero-title {
    font-size: 2.5rem;
  }
  
  .blog-article {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .blog-article h2 {
    font-size: 2rem;
  }
  
  .paint-overview, .chemical-overview {
    grid-template-columns: 1fr;
  }
  
  .interior-paint-types, .waterproofing-types {
    grid-template-columns: 1fr;
  }
  
  .cost-scenarios, .cost-comparison {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .blog-article {
    padding: 1rem;
  }
  
  .hero h1, .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .paint-card, .chem-card {
    padding: 1rem;
  }
} 