﻿/* Mouving Agency - Main Stylesheet */

:root {
  /* Brand Colors */
  --primary-color: #0f172a; /* Navy Blue */
  --secondary-color: #f59e0b; /* Amber/Gold */
  --accent-color: #3b82f6; /* Blue */
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;

  /* Typography */
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Oswald', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --section-padding: 80px 0;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.h1 { font-size: 3.5rem; }
.h2 { font-size: 2.5rem; }
.h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--light-bg);
}

.text-center { text-align: center; }

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #d97706;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 600;
  text-transform: uppercase;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Header & Navigation */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.navbar-list {
  display: flex;
  gap: 30px;
}

.navbar-link {
  font-weight: 500;
  color: var(--text-dark);
}

.navbar-link:hover, .navbar-link.active {
  color: var(--secondary-color);
}

.nav-toggle, .nav-close-btn {
  display: none;
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7); /* Dark overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-title .span {
  color: var(--secondary-color);
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

/* Service Cards */
.card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* About Section */
.about-banner img {
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-list ion-icon {
  color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #cbd5e1;
  padding: 60px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}

.footer-link {
  display: block;
  margin-bottom: 10px;
}

.footer-link:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 991px) {
  .hero { text-align: center; justify-content: center; }
  .hero-content { margin: 0 auto; }
  
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .h1 { font-size: 2.5rem; }
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--white);
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    z-index: 1001;
  }

  .navbar.active { right: 0; }
  .navbar-list { flex-direction: column; }
  
  .nav-toggle { display: block; background: none; border: none; font-size: 2rem; color: var(--text-dark); cursor: pointer; }
  .nav-close-btn { display: block; background: none; border: none; font-size: 2rem; align-self: flex-end; cursor: pointer; margin-bottom: 20px; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .about-content { margin-top: 40px; }
}
