/* techremo Financial Consulting - Main Stylesheet */

/* CSS Custom Properties */
:root {
  /* Colors */
  --techremo-dark: #09122c;
  --techremo-primary: #872341;
  --techremo-secondary: #be3144;
  --techremo-accent: #e17564;
  --techremo-white: #ffffff;

  /* Spacing */
  --techremo-space-xs: 0.5rem;
  --techremo-space-sm: 1rem;
  --techremo-space-md: 2rem;
  --techremo-space-lg: 3rem;
  --techremo-space-xl: 5rem;

  /* Font Sizes */
  --techremo-fs-small: 0.875rem;
  --techremo-fs-body: 1rem;
  --techremo-fs-h3: 1.25rem;
  --techremo-fs-h2: 1.5rem;
  --techremo-fs-h1: 2rem;
  --techremo-fs-xl: 2.5rem;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--techremo-dark);
  background-color: var(--techremo-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: var(--techremo-space-sm);
  line-height: 1.2;
  color: var(--techremo-dark);
}

h1 {
  font-size: var(--techremo-fs-h1);
}

h2 {
  font-size: var(--techremo-fs-h2);
}

h3 {
  font-size: var(--techremo-fs-h3);
}

p {
  margin-bottom: var(--techremo-space-sm);
}

a {
  color: var(--techremo-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--techremo-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

.techremo-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--techremo-space-sm);
}

.techremo-section {
  padding: var(--techremo-space-lg) 0;
}

/* Header & Navigation */
.techremo-header {
  background-color: var(--techremo-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.techremo-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--techremo-space-sm) 0;
}

.techremo-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--techremo-primary);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.techremo-logo span {
  color: var(--techremo-secondary);
}

.techremo-nav {
  display: flex;
  align-items: center;
}

.techremo-nav-links {
  display: flex;
  list-style: none;
}

.techremo-nav-links li {
  margin-left: var(--techremo-space-md);
}

.techremo-nav-links a {
  color: var(--techremo-dark);
  font-weight: 500;
  position: relative;
}

.techremo-nav-links a:hover {
  color: var(--techremo-primary);
}

.techremo-nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--techremo-primary);
  transition: width 0.3s ease;
}

.techremo-nav-links a:hover::after {
  width: 100%;
}

.techremo-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.techremo-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--techremo-dark);
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.techremo-menu-btn span:nth-child(1) {
  top: 0;
}

.techremo-menu-btn span:nth-child(2) {
  top: 9px;
}

.techremo-menu-btn span:nth-child(3) {
  bottom: 0;
}

.techremo-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.techremo-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.techremo-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.techremo-hero {
  background: linear-gradient(
    to right,
    var(--techremo-dark),
    var(--techremo-primary)
  );
  color: var(--techremo-white);
  padding: var(--techremo-space-xl) 0;
  position: relative;
  overflow: hidden;
}

.techremo-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.techremo-hero h1 {
  font-size: var(--techremo-fs-xl);
  color: var(--techremo-white);
  margin-bottom: var(--techremo-space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.techremo-hero p {
  font-size: var(--techremo-fs-body);
  margin-bottom: var(--techremo-space-md);
}

.techremo-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--techremo-accent);
  color: var(--techremo-white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.techremo-btn:hover {
  background-color: var(--techremo-secondary);
  transform: translateY(-2px);
  color: var(--techremo-white);
}

/* About Section */
.techremo-about {
  background-color: var(--techremo-white);
}

.techremo-about-content {
  display: flex;
  align-items: center;
  gap: var(--techremo-space-lg);
}

.techremo-about-text {
  flex: 1;
}

.techremo-about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.techremo-section-title {
  position: relative;
  margin-bottom: var(--techremo-space-md);
  padding-bottom: var(--techremo-space-sm);
}

.techremo-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--techremo-primary);
}

/* Services Section */
.techremo-services {
  background-color: #f9f9f9;
}

.techremo-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--techremo-space-md);
}

.techremo-service-card {
  background-color: var(--techremo-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: var(--techremo-space-md);
}

.techremo-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.techremo-service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: var(--techremo-space-sm);
}

.techremo-service-title {
  margin-bottom: var(--techremo-space-xs);
  font-size: var(--techremo-fs-h3);
}

/* Products Section */
.techremo-products {
  background-color: var(--techremo-white);
}

.techremo-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--techremo-space-md);
}

.techremo-product-card {
  background-color: var(--techremo-white);
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.techremo-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.techremo-product-content {
  padding: var(--techremo-space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.techremo-product-title {
  font-size: var(--techremo-fs-h3);
  margin-bottom: var(--techremo-space-xs);
}

.techremo-product-price {
  font-size: 1.5rem;
  color: var(--techremo-primary);
  font-weight: 600;
  margin-bottom: var(--techremo-space-sm);
}

.techremo-product-features {
  list-style: none;
  margin-bottom: var(--techremo-space-md);
}

.techremo-product-features li {
  margin-bottom: var(--techremo-space-xs);
  padding-left: 25px;
  position: relative;
}

.techremo-product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--techremo-secondary);
  font-weight: bold;
}

/* Testimonials Section */
.techremo-testimonials {
  background-color: #f9f9f9;
}

.techremo-testimonials-slider {
  position: relative;
}

.techremo-testimonial {
  padding: var(--techremo-space-md);
  background-color: var(--techremo-white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 var(--techremo-space-sm);
}

.techremo-testimonial-content {
  font-style: italic;
  position: relative;
  padding: var(--techremo-space-sm) var(--techremo-space-md);
  margin-bottom: var(--techremo-space-sm);
}

.techremo-testimonial-content::before,
.techremo-testimonial-content::after {
  content: '"';
  font-size: 3rem;
  color: var(--techremo-primary);
  opacity: 0.2;
  position: absolute;
}

.techremo-testimonial-content::before {
  top: -20px;
  left: 0;
}

.techremo-testimonial-content::after {
  bottom: -40px;
  right: 0;
}

.techremo-testimonial-author {
  display: flex;
  align-items: center;
}

.techremo-testimonial-author-info {
  margin-left: var(--techremo-space-sm);
}

.techremo-testimonial-author-name {
  font-weight: 600;
  margin-bottom: 0;
}

.techremo-testimonial-author-title {
  font-size: var(--techremo-fs-small);
  color: #777;
}

/* Portfolio/Case Studies Section */
.techremo-portfolio {
  background-color: var(--techremo-white);
}

.techremo-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--techremo-space-md);
}

.techremo-portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.techremo-portfolio-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.techremo-portfolio-item:hover .techremo-portfolio-image {
  transform: scale(1.1);
}

.techremo-portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 18, 44, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--techremo-space-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.techremo-portfolio-item:hover .techremo-portfolio-overlay {
  opacity: 1;
}

.techremo-portfolio-title {
  color: var(--techremo-white);
  margin-bottom: var(--techremo-space-xs);
  text-align: center;
}

.techremo-portfolio-category {
  color: var(--techremo-accent);
  font-size: var(--techremo-fs-small);
}

/* Contact Section */
.techremo-contact {
  background-color: #f9f9f9;
}

.techremo-contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--techremo-space-lg);
}

.techremo-contact-info {
  display: flex;
  flex-direction: column;
}

.techremo-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--techremo-space-md);
}

.techremo-contact-icon {
  margin-right: var(--techremo-space-sm);
  color: var(--techremo-primary);
  flex-shrink: 0;
}

.techremo-contact-text h4 {
  margin-bottom: var(--techremo-space-xs);
}

.techremo-contact-form {
  background-color: var(--techremo-white);
  padding: var(--techremo-space-md);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.techremo-form-group {
  margin-bottom: var(--techremo-space-sm);
}

.techremo-form-label {
  display: block;
  margin-bottom: var(--techremo-space-xs);
  font-weight: 500;
}

.techremo-form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

.techremo-form-control:focus {
  outline: none;
  border-color: var(--techremo-primary);
}

textarea.techremo-form-control {
  min-height: 120px;
  resize: vertical;
}

/* Image Slideshow */
.techremo-slideshow {
  position: relative;
  margin-bottom: var(--techremo-space-md);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.techremo-slide {
  display: none;
  width: 100%;
}

.techremo-slide.active {
  display: block;
}

.techremo-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.techremo-slide.zoomed img {
  transform: scale(1.2);
}

.techremo-slideshow-nav {
  position: absolute;
  bottom: var(--techremo-space-sm);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.techremo-slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.techremo-slideshow-dot.active {
  background-color: var(--techremo-white);
}

.techremo-slideshow-prev,
.techremo-slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--techremo-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.techremo-slideshow-prev {
  left: var(--techremo-space-sm);
}

.techremo-slideshow-next {
  right: var(--techremo-space-sm);
}

/* Footer */
.techremo-footer {
  background-color: var(--techremo-dark);
  color: var(--techremo-white);
  padding: var(--techremo-space-lg) 0;
}

.techremo-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--techremo-space-lg);
}

.techremo-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--techremo-white);
  margin-bottom: var(--techremo-space-sm);
}

.techremo-footer-logo span {
  color: var(--techremo-accent);
}

.techremo-footer-text {
  margin-bottom: var(--techremo-space-md);
}

.techremo-footer-title {
  color: var(--techremo-white);
  font-size: var(--techremo-fs-h3);
  margin-bottom: var(--techremo-space-sm);
  position: relative;
  padding-bottom: var(--techremo-space-xs);
}

.techremo-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--techremo-accent);
}

.techremo-footer-links {
  list-style: none;
}

.techremo-footer-links li {
  margin-bottom: var(--techremo-space-xs);
}

.techremo-footer-links a {
  color: #ddd;
  transition: color 0.3s ease;
}

.techremo-footer-links a:hover {
  color: var(--techremo-accent);
}

.techremo-footer-bottom {
  margin-top: var(--techremo-space-lg);
  padding-top: var(--techremo-space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--techremo-fs-small);
}

/* Thank You Page */
.techremo-thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background-color: #f9f9f9;
  padding: var(--techremo-space-lg);
}

.techremo-thankyou-icon {
  width: 80px;
  height: 80px;
  fill: var(--techremo-primary);
  margin-bottom: var(--techremo-space-md);
}

.techremo-thankyou-title {
  font-size: var(--techremo-fs-xl);
  margin-bottom: var(--techremo-space-sm);
}

.techremo-thankyou-text {
  max-width: 600px;
  margin-bottom: var(--techremo-space-lg);
}

/* Policy Pages */
.techremo-policy {
  padding: var(--techremo-space-xl) 0;
}

.techremo-policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.techremo-policy-title {
  font-size: var(--techremo-fs-xl);
  margin-bottom: var(--techremo-space-md);
}

.techremo-policy-section {
  margin-bottom: var(--techremo-space-lg);
}

.techremo-policy-section h3 {
  margin-bottom: var(--techremo-space-sm);
}

/* Media Queries */
@media (max-width: 991px) {
  :root {
    --techremo-fs-h1: 1.75rem;
    --techremo-fs-h2: 1.25rem;
    --techremo-fs-h3: 1.1rem;
    --techremo-fs-body: 0.95rem;
    --techremo-fs-small: 0.8rem;
    --techremo-fs-xl: 2rem;

    --techremo-space-xs: 0.4rem;
    --techremo-space-sm: 0.8rem;
    --techremo-space-md: 1.5rem;
    --techremo-space-lg: 2.5rem;
    --techremo-space-xl: 4rem;
  }

  .techremo-menu-btn {
    display: block;
  }

  .techremo-nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--techremo-white);
    flex-direction: column;
    padding: 80px var(--techremo-space-md) var(--techremo-space-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .techremo-nav-links.active {
    right: 0;
  }

  .techremo-nav-links li {
    margin: 0 0 var(--techremo-space-sm) 0;
  }

  .techremo-about-content {
    flex-direction: column;
  }

  .techremo-slideshow {
    height: 300px;
  }

  .techremo-slide img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .techremo-section {
    padding: var(--techremo-space-md) 0;
  }

  .techremo-services-grid,
  .techremo-products-grid,
  .techremo-portfolio-grid,
  .techremo-footer-grid {
    grid-template-columns: 1fr;
  }

  .techremo-slideshow {
    height: 250px;
  }

  .techremo-slide img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .techremo-container {
    width: 95%;
  }

  .techremo-slideshow {
    height: 200px;
  }

  .techremo-slide img {
    height: 200px;
  }
}

@media (max-width: 320px) {
  :root {
    --techremo-fs-h1: 1.5rem;
    --techremo-fs-h2: 1.15rem;
    --techremo-fs-h3: 1rem;
    --techremo-fs-body: 0.9rem;
    --techremo-fs-small: 0.75rem;
    --techremo-fs-xl: 1.75rem;
  }

  .techremo-slideshow {
    height: 180px;
  }

  .techremo-slide img {
    height: 180px;
  }
}
