/*
Theme Name: Creative Concept Blog
Theme URI: https://thecreativeconcept.org
Description: A custom WordPress theme for the Creative Concept blog, designed to match the main corporate website.
Version: 1.0
Author: Creative Concept
Author URI: https://thecreativeconcept.org
Text Domain: creative-concept
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #3b429f; /* Deep blue from logo */
  --secondary-color: #8c9296; /* Grey from logo */
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --text-color: #4a4a4a;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--dark-color);
}

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

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }

.section-title {
  font-size: 36px;
  color: var(--dark-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

/* Page Banner - Hero style for inner pages */
.page-banner {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  text-align: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner .section-title {
  color: white;
}

.page-banner .section-subtitle {
  color: #ccc;
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo img {
  max-height: 70px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

.main-nav a {
  font-weight: 600;
  color: var(--dark-color);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary-color);
}

/* Blog Feed Styling */
.blog-post {
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.post-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--dark-color);
}

.post-meta {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.post-excerpt {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 80px 0 20px;
}

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

.footer-col h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  color: #bbbbbb;
  margin-bottom: 15px;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #bbbbbb;
}

.footer-col a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: #888;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }
  
  .main-nav ul {
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
