/*
Theme Name: Phila mer Consultants
Theme URI: https://philamer-consultants.com
Author: Phila mer Consultants
Author URI: https://philamer-consultants.com
Description: A modern, professional web design agency theme with navy and gold accents
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: philamer-consultants
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

:root {
  --primary: #1a2332;
  --primary-light: #2d3e4f;
  --accent: #D4A574;
  --accent-light: #c99560;
  --background: #ffffff;
  --text-dark: #1a2332;
  --text-light: #666666;
  --border-color: #e8e4dd;
  --light-bg: #f5f1e8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--text-light);
  font-weight: 300;
}

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

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

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.125rem;
}

.navbar-logo {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
}

.navbar-menu {
  display: none;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-menu a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: var(--accent);
}

.navbar-cta {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.navbar-cta:hover {
  background-color: var(--primary-light);
}

/* Main Content */
main {
  margin-top: 4rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
}

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

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-text .subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--light-bg);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

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

.hero-image {
  display: none;
  position: relative;
  height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.1), transparent);
}

@media (min-width: 768px) {
  .hero-image {
    display: block;
  }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: var(--light-bg);
  position: relative;
}

@media (min-width: 768px) {
  .services {
    padding: 6rem 0;
  }
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.2), transparent);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 3rem;
}

.section-header .subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.section-header p {
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.service-card-image {
  width: 100%;
  height: 200px;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #f0f0f0;
}

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

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  space-y: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: white;
}

@media (min-width: 768px) {
  .about {
    padding: 6rem 0;
  }
}

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

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  display: none;
  position: relative;
  height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.05), transparent);
}

@media (min-width: 768px) {
  .about-image {
    display: block;
    order: 2;
  }
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  order: 1;
}

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

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-features {
  list-style: none;
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-features li::before {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: rgba(212, 165, 116, 0.2);
  border-radius: 0.5rem;
  color: var(--accent);
  font-weight: bold;
}

.about-features li:nth-child(1)::before {
  content: '✓';
}

.about-features li:nth-child(2)::before {
  content: '✓';
}

.about-features li:nth-child(3)::before {
  content: '✓';
}

.feature-text h4 {
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.feature-text p {
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta {
    padding: 6rem 0;
  }
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.1), transparent);
  border-radius: 50%;
  filter: blur(80px);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.05), transparent);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-accent:hover {
  background-color: var(--accent-light);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-footer {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 1rem;
}

/* Footer */
footer {
  background-color: #0f1419;
  color: #999999;
  padding: 3rem 0 1rem;
  border-top: 1px solid #333333;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-section a {
  color: #999999;
  font-size: 0.875rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
}

.footer-brand-name {
  color: white;
  font-weight: bold;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #999999;
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: #999999;
}

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

/* Responsive */
@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .about-features li {
    flex-direction: column;
  }
}
