/* All Fixed Property Maintenance Ltd - Static Website Styles */
/* Design Philosophy: Industrial Brutalism meets Refined Craftsmanship */

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

:root {
  /* Colors - Royal Blue Theme */
  --primary: #3b5bdb;
  --primary-dark: #2f4bb8;
  --foreground: #1a1a1a;
  --background: #f8f9fa;
  --muted: #e9ecef;
  --border: #dee2e6;
  
  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

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

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

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

/* Header */
header {
  background: white;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.75rem;
  color: var(--foreground);
  margin: 0;
}

.logo-text p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-call {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid var(--border);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-construction.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s;
}

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

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid white;
  border-radius: 4px;
  transition: all 0.3s;
}

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

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: white;
}

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

.section-label {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

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

.service-card {
  border: 2px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

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

/* Portfolio Preview */
.portfolio-preview {
  padding: 6rem 0;
  background: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
}

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

/* About Preview */
.about-preview {
  padding: 6rem 0;
  background: white;
}

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

.about-content img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-text h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

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

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--foreground);
  color: white;
}

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

.contact-form {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 4px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 4px;
  font-family: var(--font-body);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

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

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

.contact-card {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-card a {
  color: white;
  text-decoration: none;
  font-size: 1.125rem;
}

.contact-card a:hover {
  color: var(--primary);
}

.phone-link {
  color: #ff6b6b !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

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

.footer-section h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}

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

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.social-links img:hover {
  opacity: 0.8;
}

.slogan {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Utility Classes */
.mb-4 {
  margin-bottom: 2rem;
}

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