/* Marvel Petroleum - Modern Website Styles */

/* CSS Variables */
:root {
  --primary-blue: #1e40af;
  --light-blue: #3b82f6;
  --accent-red: #dc2626;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --medium-gray: #64748b;
  --dark-gray: #1e293b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --gradient-blue: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(30, 64, 175, 0.45) 0%, rgba(59, 130, 246, 0.35) 100%);
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--light-blue);
}

.brand-text {
  margin-left: 0.5rem;
  letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue);
  background: rgba(30, 64, 175, 0.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  background-attachment: fixed;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero.jpg') center center/cover no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

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

/* Buttons */
.btn {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
  background: var(--white);
  padding: 5rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 4;
  border-radius: 2rem 2rem 0 0;
  box-shadow: var(--shadow-medium);
}

.stat-card {
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-currency {
  font-size: inherit;
  font-weight: inherit;
  margin-right: 0.1em;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
}

/* Focus Section */
.focus-section {
  background: var(--light-gray);
}

.focus-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--light-blue);
}

.focus-icon {
  width: 70px;
  height: 70px;
  background: rgba(30, 64, 175, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-blue);
  font-size: 1.8rem;
  transition: var(--transition);
}

.focus-card:hover .focus-icon {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

.focus-card h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.focus-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
  background: var(--white);
}

.property-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
  height: 100%;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.property-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

.property-content {
  padding: 2rem;
}

.property-content h5 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.property-location {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.property-location i {
  color: var(--accent-red);
  margin-right: 0.5rem;
}

.property-revenue {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--light-gray);
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-blue);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author strong {
  color: var(--text-primary);
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* About Section */
.about-section {
  background: var(--white);
}

.about-section h4 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.team-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--light-gray);
  transition: var(--transition);
}

.team-card:hover .team-image {
  border-color: var(--primary-blue);
}

.team-content h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.team-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.social-link {
  color: var(--primary-blue);
  font-size: 1.5rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  color: var(--light-blue);
  transform: scale(1.1);
}

/* Legal Statement Section */
.legal-section {
  background: var(--light-gray);
}

.legal-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.legal-content {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 0;
}

/* Sell Section */
.sell-section {
  background: var(--white);
}

.sell-form-card {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.form-label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid rgba(30, 64, 175, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.why-sell-section h4 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.why-sell-list {
  list-style: none;
  padding: 0;
}

.why-sell-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.why-sell-list li i {
  color: #10b981;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Investment Section */
.investment-section {
  background: var(--light-gray);
}

.investment-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.investment-card h4 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.investment-card ul {
  list-style: none;
  padding: 0;
}

.investment-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  color: var(--text-secondary);
}

.investment-card li:last-child {
  border-bottom: none;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  background: rgba(30, 64, 175, 0.05);
  padding: 1rem;
  border-radius: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  border-left: 4px solid var(--primary-blue);
}

.broker-section {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.broker-section h4 {
  color: var(--primary-blue);
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-info h4 {
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.contact-item i {
  color: var(--primary-blue);
  margin-right: 1rem;
  font-size: 1.2rem;
  width: 20px;
}

.social-links {
  margin-top: 2rem;
}

.social-links .social-link {
  margin-right: 1rem;
  font-size: 1.8rem;
}

.contact-form {
  background: rgba(30, 64, 175, 0.02);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Footer */
.footer-section {
  background: var(--primary-blue);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .process-step {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .stats-section {
    padding: 3rem 0;
  }
  
  .sell-form-card,
  .broker-section,
  .contact-form {
    padding: 2rem;
  }
  
  .footer-links {
    justify-content: center;
    text-align: center;
  }
  
  .process-steps {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

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

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

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading spinner */
.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
