/*
Theme Name: MacFix
Theme URI: https://macfix.com.tr
Author: MacFix Team
Author URI: https://macfix.com.tr
Description: Apple cihaz teknik servisi için profesyonel WordPress teması
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: macfix
Tags: apple, repair, service, technical, responsive
*/

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

:root {
  --apple-blue: #007AFF;
  --apple-dark: #1D1D1F;
  --apple-gray: #86868B;
  --apple-light: #F5F5F7;
  --apple-green: #34C759;
  --apple-orange: #FF9500;
  --apple-red: #FF3B30;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background-color: var(--apple-light);
  color: var(--apple-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* WordPress Required Classes */
.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Navigation */
.main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.main-navigation.transparent {
  background: transparent;
  box-shadow: none;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo {
  width: 48px;
  height: 48px;
  background: var(--apple-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo svg {
  width: 28px;
  height: 28px;
  color: white;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--apple-dark);
  text-decoration: none;
}

/* Menu */
.primary-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.primary-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--apple-dark);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
  color: var(--apple-blue);
  background: rgba(0, 122, 255, 0.1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--apple-blue);
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: #0051D5;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--apple-light) 0%, var(--white) 100%);
  padding-top: 120px;
  padding-bottom: 4rem;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.hero-badge {
  display: inline-flex;
  padding: 0.375rem 1rem;
  background: rgba(0, 122, 255, 0.1);
  color: var(--apple-blue);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--apple-dark);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--apple-blue);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--apple-gray);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--apple-blue);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0051D5;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--apple-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid rgba(29, 29, 31, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(29, 29, 31, 0.05);
}

.hero-features {
  display: flex;
  gap: 1.5rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--apple-dark);
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--apple-green);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-floating-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(52, 199, 89, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-card .icon svg {
  width: 24px;
  height: 24px;
  color: var(--apple-green);
}

.hero-floating-card .number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--apple-dark);
}

.hero-floating-card .label {
  font-size: 0.875rem;
  color: var(--apple-gray);
}

/* Quick Services */
.quick-services {
  padding: 5rem 0;
  background: white;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--apple-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--apple-gray);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--apple-light);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon.blue { background: #3B82F6; }
.service-icon.red { background: #EF4444; }
.service-icon.green { background: #10B981; }
.service-icon.purple { background: #8B5CF6; }

.service-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--apple-dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--apple-gray);
  margin-bottom: 1rem;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--apple-blue);
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* Premium Services */
.premium-services {
  padding: 5rem 0;
  background: white;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.premium-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.premium-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.premium-icon.blue { background: var(--apple-blue); }
.premium-icon.green { background: var(--apple-green); }
.premium-icon.orange { background: var(--apple-orange); }

.premium-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.premium-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--apple-dark);
  margin-bottom: 0.75rem;
}

.premium-card p {
  font-size: 0.9375rem;
  color: var(--apple-gray);
  line-height: 1.7;
}

/* Why Us Section */
.why-us {
  padding: 5rem 0;
  background: var(--apple-light);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-us-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.why-us-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--apple-dark);
  margin-bottom: 1.5rem;
}

.why-us-content h2 span {
  color: var(--apple-blue);
}

.why-us-content > p {
  font-size: 1.125rem;
  color: var(--apple-gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--apple-blue);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--apple-dark);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--apple-gray);
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  background: var(--apple-blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-item .label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: var(--apple-orange);
  fill: var(--apple-orange);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--apple-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--apple-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.testimonial-author h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--apple-dark);
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--apple-gray);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--apple-light);
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--apple-blue) 0%, #5856D6 100%);
  border-radius: 32px;
  padding: 4rem;
  text-align: center;
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn-primary {
  background: white;
  color: var(--apple-blue);
}

.cta-box .btn-primary:hover {
  background: #f5f5f7;
}

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

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

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

.footer-brand .logo {
  width: 40px;
  height: 40px;
  background: var(--apple-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .logo svg {
  width: 24px;
  height: 24px;
  color: white;
}

.footer-brand span {
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-about {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-column ul li a,
.footer-column ul li span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--apple-blue);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Contact Page */
.contact-section {
  padding: 8rem 0 5rem;
  background: var(--apple-light);
  min-height: 100vh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-wrapper {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--apple-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info-card .header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icon svg {
  width: 24px;
  height: 24px;
  color: var(--apple-blue);
}

.contact-info-card .icon.whatsapp {
  background: rgba(52, 199, 89, 0.1);
}

.contact-info-card .icon.whatsapp svg {
  color: var(--apple-green);
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--apple-dark);
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.9375rem;
  color: var(--apple-gray);
}

.contact-info-card a {
  font-size: 0.875rem;
  color: var(--apple-blue);
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* Services Page */
.services-page {
  padding: 8rem 0 5rem;
  background: var(--apple-light);
  min-height: 100vh;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-detail-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-detail-image {
  height: 280px;
}

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

.service-detail-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-content .icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-detail-content .icon svg {
  width: 24px;
  height: 24px;
  color: var(--apple-blue);
}

.service-detail-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--apple-dark);
  margin-bottom: 0.75rem;
}

.service-detail-content p {
  font-size: 1rem;
  color: var(--apple-gray);
  line-height: 1.6;
}

/* Pricing Page */
.pricing-page {
  padding: 8rem 0 5rem;
  background: var(--apple-light);
  min-height: 100vh;
}

.pricing-table-wrapper {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table thead {
  background: var(--apple-blue);
}

.pricing-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
}

.pricing-table th:not(:first-child) {
  text-align: center;
}

.pricing-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9375rem;
}

.pricing-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.pricing-table td:first-child {
  font-weight: 500;
  color: var(--apple-dark);
}

.pricing-table td:not(:first-child) {
  text-align: center;
  color: var(--apple-gray);
}

.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--apple-gray);
}

/* Blog Page */
.blog-page {
  padding: 8rem 0 5rem;
  background: var(--apple-light);
  min-height: 100vh;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

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

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

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-card-meta .category {
  padding: 0.25rem 0.75rem;
  background: #f3f4f6;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--apple-gray);
}

.blog-card-meta .date {
  font-size: 0.75rem;
  color: var(--apple-gray);
}

.blog-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--apple-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* About Page */
.about-page {
  padding: 8rem 0 5rem;
  background: var(--apple-light);
  min-height: 100vh;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--apple-dark);
  margin-bottom: 1.5rem;
}

.about-hero-content h1 span {
  color: var(--apple-blue);
}

.about-hero-content p {
  font-size: 1.125rem;
  color: var(--apple-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-address {
  margin-top: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-address svg {
  width: 20px;
  height: 20px;
  color: var(--apple-blue);
  margin-top: 2px;
}

.about-address p {
  margin: 0;
  font-size: 0.9375rem;
}

.about-address .street {
  color: var(--apple-gray);
}

.about-address .district {
  color: var(--apple-dark);
  font-weight: 500;
}

.about-hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.mission-vision-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
}

.mission-vision-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--apple-dark);
  margin-bottom: 1rem;
}

.mission-vision-card p {
  font-size: 1rem;
  color: var(--apple-gray);
  line-height: 1.7;
}

.values-section {
  text-align: center;
}

.values-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--apple-dark);
  margin-bottom: 0.5rem;
}

.values-section > p {
  font-size: 1rem;
  color: var(--apple-gray);
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-card .icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--apple-blue);
}

.value-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--apple-dark);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--apple-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid,
  .why-us-grid,
  .contact-grid,
  .about-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .primary-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }

  .primary-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-box {
    padding: 2rem;
  }

  .cta-box h2 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-hero-content h1 {
    font-size: 2rem;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--apple-light);
}

::-webkit-scrollbar-thumb {
  background: var(--apple-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--apple-dark);
}
