/* Rhino Studio Landing Page Styles */

/* Global Styles */
:root {
  --primary-color: #ffffff;
  --secondary-color: #f8f8f8;
  --accent-color: #ff6b00;
  --text-color: #333;
  --dark-text: #333;
  --light-text: #fff;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

a:hover {
  color: #e05a00;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: var(--dark-text);
  padding: 1rem 5%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: padding 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
}

.language-selector {
  display: flex;
  gap: 1rem;
}

.language-selector a {
  color: var(--dark-text);
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.language-selector a.active {
  background-color: var(--accent-color);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(45deg, #f8f8f8, #ffffff);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--dark-text);
  padding: 0 5%;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-logos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-logo {
  height: 500px;
  filter: none;
}

.hero-logo-sm {
  height: 100px;
  filter: none;
  margin-top: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-family: var(--font-secondary);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #e05a00;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Legacy Section */
.legacy-section {
  padding: 5rem 5%;
  text-align: center;
}

/* Services Section */
.services-section {
  padding: 5rem 5%;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

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

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  font-family: var(--font-secondary);
  color: #666;
}

/* Portfolio Section */
.portfolio-section {
  padding: 2rem 5%;
  background-color: #f0f0f0;
  text-align: center;
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 150px;
}

.portfolio-image {
  height: 80%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  color: var(--dark-text);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-category {
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  padding: 2rem 5%;
  text-align: center;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info p {
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
}

/* Footer Styles */
footer {
  background-color: var(--primary-color);
  color: var(--dark-text);
  padding: 2rem 5%;
  border-top: 1px solid #eee;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

.social-links a {
  color: var(--dark-text);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-logo {
    height: 300px;
  }

  .hero-logo-sm {
    height: 80px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding-top: 60px;
  }

  .hero-logo {
    height: 250px;
  }

  .hero-logo-sm {
    height: 60px;
    margin-top: 30px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .portfolio-item {
    height: 220px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 4%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-logo {
    height: 220px;
  }

  .hero-logo-sm {
    height: 50px;
    margin-top: 25px;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-section,
  .portfolio-section,
  .contact-section {
    padding: 3rem 5%;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .portfolio-title {
    font-size: 1.3rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  header {
    padding: 0.7rem 3%;
  }

  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 80px 5% 40px;
  }

  .hero-logo {
    height: 200px;
  }

  .hero-logo-sm {
    height: 40px;
    margin-top: 20px;
  }

  .cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    /* Increase tap target size for mobile */
    min-width: 160px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-item {
    height: 200px;
  }

  .contact-info {
    padding: 1.5rem;
  }

  /* Improve tap targets for mobile */
  .language-selector a {
    padding: 0.5rem 0.7rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .social-links a {
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.6rem 3%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-title::after {
    width: 40px;
    height: 2px;
  }

  .language-selector {
    gap: 0.5rem;
  }

  .language-selector a {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-icon {
    font-size: 2.2rem;
  }

  .service-title {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }

  .service-description {
    font-size: 0.9rem;
  }

  .portfolio-title {
    font-size: 1.2rem;
  }

  .portfolio-category {
    font-size: 0.8rem;
  }

  footer {
    padding: 1.5rem 5%;
  }

  .social-links {
    gap: 0.8rem;
  }
}
