/*
Theme Name: L-SQUAD Corporate
Description: A modern corporate WordPress theme for construction companies
Version: 1.0.0
Author: L-SQUAD
Text Domain: lsquad
*/

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

/* CSS Variables */
:root {
  --background: oklch(0.99 0.005 85);
  --foreground: oklch(0.15 0.01 85);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.15 0.01 85);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.15 0.01 85);
  --primary: oklch(0.65 0.15 35);
  --primary-foreground: oklch(0.99 0.005 85);
  --secondary: oklch(0.96 0.01 85);
  --secondary-foreground: oklch(0.15 0.01 85);
  --muted: oklch(0.96 0.01 85);
  --muted-foreground: oklch(0.45 0.01 85);
  --accent: oklch(0.75 0.12 25);
  --accent-foreground: oklch(0.99 0.005 85);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.98 0.01 85);
  --border: oklch(0.92 0.01 85);
  --input: oklch(0.92 0.01 85);
  --ring: oklch(0.65 0.15 35);
  --radius: 0rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

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

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

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

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.logo-text {
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--foreground);
  letter-spacing: 0.1em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(15, 23, 42, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--foreground);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

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

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background-color: rgba(15, 23, 42, 0.1);
  border-radius: 0.25rem;
}

.mobile-nav {
  display: none;
  padding: 0.5rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.2);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease;
}

.mobile-nav.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(15, 23, 42, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--foreground);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--foreground);
  background: rgba(15, 23, 42, 0.05);
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
  width: 4px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main content */
.main {
  min-height: 100vh;
  padding-top: 5rem;
}

/* Footer styles */
.footer {
  background: #111827;
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

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

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

.footer-section .footer-logo {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #e5e7eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.footer-section .footer-description .footer-company {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.9);
}

.footer-section .footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  color: white;
  position: relative;
}

.footer-section .footer-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
}

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

.footer-section .footer-address p {
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.footer-section .footer-address p:hover {
  color: rgba(255, 255, 255, 0.9);
}

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

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

.footer-section .footer-links li::before {
  content: '→';
  position: absolute;
  left: -1rem;
  opacity: 0;
  transition: all 0.3s ease;
  color: #3b82f6;
}

.footer-section .footer-links li:hover::before {
  opacity: 1;
  left: -0.5rem;
}

.footer-section .footer-links li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-section .footer-links li a:hover {
  color: white;
  padding-left: 0.5rem;
}

.footer-section .footer-social .social-link {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.footer-section .footer-social .social-link:hover {
  color: white;
  transform: translateX(4px);
}

.footer-section .footer-social .social-link .social-icon {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-section .footer-social .social-link:hover .social-icon {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Utility classes */
.text-center {
  text-align: center;
}

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

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

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

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
}

/* Animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer {
    padding: 3rem 0;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-section .footer-links li {
    margin-bottom: 0;
  }
  
  .footer-section .footer-links li::before {
    display: none;
  }
}

img {
  width: 100%;
}